Repository navigation
Run setup commands in a single process in tests - #138
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Deletion and listing scenario setup composer.json, features/transient.feature |
Deletion and listing scenarios group existing setup commands into tables. The wp-cli/wp-cli-tests development dependency constraint changes to ^5.4.0. |
Patch and pluck scenario setup features/transient-patch.feature, features/transient-pluck.feature |
Transient and site-transient patch and pluck scenarios group existing setup commands into tables. The patch operations, output, error checks, and pluck assertions remain unchanged. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Suggested reviewers: petitphp, swissspidy
Merge Risk: 
Minimal · up to dd105
-
The setup refactor is mergeable; it preserves the existing transient test behavior while using the supported setup-command step.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.)
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1753d33 to
dd10561
Compare
Switches the feature files to the
these setup commands:step from wp-cli/wp-cli-tests#400, and requireswp-cli/wp-cli-tests^5.4.0.Measured on this test suite: Behat time -16.2% (93.6 → 78.4 job minutes, summed over the matrix). Details in wp-cli/wp-cli-tests#400.
Summary by CodeRabbit