Repository navigation
Corrected documentation that disagreed with the code and retargeted deprecations at 'v2.1'. - #208
Conversation
…eprecations at 'v2.1'.
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 14 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (20)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #208 +/- ##
=======================================
Coverage 98.12% 98.12%
=======================================
Files 16 16
Lines 2397 2397
=======================================
Hits 2352 2352
Misses 45 45 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
This is a documentation-and-consistency polish pass over the bats-helpers library, with no behavioural changes. It corrects four documentation samples that had drifted from what the code actually prints, normalizes function-description wording across five API reference pages onto the phrasing the README's API reference table already uses, and retargets every deprecation removal notice from the vague "the next version" to the concrete "v2.1" across
src/,tests/deprecation.bats, andMIGRATION.md. It also removes four comments fromsrc/steps.bashthat only restated the line below them, and corrects the API-table ordering rule stated inCLAUDE.mdso it describes the ordering the table actually follows.Changes
docs/assertions-line.md's out-of-range sample now quotes the index the waysrc/assert.line.bashactually does;docs/retry.md's exhausted-retry sample now shows the realformat_errorblock (title,command,limit,attempts,elapsed,last status,last outputrows) and explains thelimitrow;docs/steps.mdcorrects how<mock_status>can be omitted;docs/tui.md's sample output gains thematch modeandcaserows the code actually prints.docs/assertions-command.md,docs/assertions-file.md,docs/assertions-git.md,docs/assertions-line.md, anddocs/mocking.mdreword table rows from "Checks if..." / "Checks the..." to "Asserts that..." / "Asserts the...", matching the phrasing already used in the README's API reference table.v2.1- every "will be removed in the next version" notice acrosssrc/assert.command.bash,src/assert.file.bash,src/assert.git.bash,src/assert.string.bash,src/file.bash,src/fixture.bash,src/mock.bash,src/steps.bash, andsrc/tui.bash, plus every matching assertion intests/deprecation.bats, now namesv2.1;MIGRATION.md's intro line moves fromv2tov2.1to match.src/steps.bash- four comments that only restated the statement directly below them are dropped, leaving the code to speak for itself.CLAUDE.md- the rule describing the README API reference table's within-module ordering now states that it follows the order each module's documentation page presents its functions, rather thanload.bashdefinition order.Before / After