Opened 6 weeks ago
Closed 3 weeks ago
#3706 closed task (blessed) (fixed)
Expand PHPUnit coverage beyond incomplete stubs
| Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Tools - Unit Tests | Version: | trunk |
| Severity: | normal | Keywords: | needs-unit-tests |
| Cc: |
Description
The original incomplete-test backlog in #3695 is complete. Continue auditing bbPress one source file or component at a time for behavior that never had a placeholder, was intentionally skipped, or lacks meaningful positive, negative, and edge-case coverage.
For each batch:
- Compare the source file's current public and internal contracts with existing tests rather than relying on old test names or stubs.
- Cover important branches, filters, actions, permissions, state transitions, multisite behavior, and integrations.
- Track product defects separately and backport released-branch fixes where appropriate.
- Run focused tests, standard and multisite suites, BuddyPress where relevant, PHP lint, PHPCS, and applicable CI.
- Keep changes small and reviewable, and link each canonical Subversion revision here.
Known integration follow-ups should remain separate tickets when they involve product behavior rather than test coverage alone.
Change History (76)
Note:
See TracTickets
for help on using tickets.
In 7830: