Make WordPress Core

Opened 9 months ago

Last modified 3 months ago

#59648 reviewing task (blessed)

PHPUnit tests: Add/improve @covers annotations for WP 6.6

Reported by: pbearne's profile pbearne Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.8
Component: Build/Test Tools Keywords: has-patch has-unit-tests changes-requested
Focuses: Cc:

Description

Previously:

Continuation of ongoing work to add and/or improve the PHPUnit tests @covers annotations for more accurate coverage reporting.

Change History (25)

This ticket was mentioned in PR #5377 on WordPress/wordpress-develop by @pbearne.


9 months ago
#1

  • Keywords has-patch has-unit-tests added

This ticket was mentioned in PR #5378 on WordPress/wordpress-develop by @pbearne.


9 months ago
#2

This ticket was mentioned in PR #5379 on WordPress/wordpress-develop by @pbearne.


9 months ago
#3

This ticket was mentioned in PR #5380 on WordPress/wordpress-develop by @pbearne.


9 months ago
#4

This ticket was mentioned in PR #5381 on WordPress/wordpress-develop by @pbearne.


9 months ago
#5

This ticket was mentioned in PR #5382 on WordPress/wordpress-develop by @pbearne.


9 months ago
#6

This ticket was mentioned in PR #5383 on WordPress/wordpress-develop by @pbearne.


9 months ago
#7

This ticket was mentioned in PR #5403 on WordPress/wordpress-develop by @pbearne.


9 months ago
#8

This ticket was mentioned in PR #5402 on WordPress/wordpress-develop by @pbearne.


9 months ago
#9

This ticket was mentioned in PR #5401 on WordPress/wordpress-develop by @pbearne.


9 months ago
#10

This ticket was mentioned in PR #5400 on WordPress/wordpress-develop by @pbearne.


9 months ago
#11

This ticket was mentioned in PR #5392 on WordPress/wordpress-develop by @pbearne.


9 months ago
#12

This ticket was mentioned in PR #5391 on WordPress/wordpress-develop by @pbearne.


9 months ago
#13

This ticket was mentioned in PR #5390 on WordPress/wordpress-develop by @pbearne.


9 months ago
#14

This ticket was mentioned in PR #5389 on WordPress/wordpress-develop by @pbearne.


9 months ago
#15

This ticket was mentioned in PR #5388 on WordPress/wordpress-develop by @pbearne.


9 months ago
#16

This ticket was mentioned in PR #5387 on WordPress/wordpress-develop by @pbearne.


9 months ago
#17

This ticket was mentioned in PR #5384 on WordPress/wordpress-develop by @pbearne.


9 months ago
#18

This ticket was mentioned in PR #5385 on WordPress/wordpress-develop by @pbearne.


9 months ago
#19

This ticket was mentioned in PR #5385 on WordPress/wordpress-develop by @pbearne.


9 months ago
#20

#21 @swissspidy
6 months ago

  • Type changed from enhancement to task (blessed)

#22 @swissspidy
5 months ago

  • Owner hellofromTonya deleted

There are tons of uncommitted PRs from the previous ticket, #58851.

Would be good to get these all reviewed & committed one by one.

#23 @hellofromTonya
5 months ago

  • Milestone changed from 6.5 to 6.6
  • Owner set to hellofromTonya
  • Status changed from assigned to reviewing
  • Summary changed from PHPUnit tests: Add/improve @covers annotations for WP 6.5 to PHPUnit tests: Add/improve @covers annotations for WP 6.6

My plan: finish the current scope of work (ie the current patch) in March.

But with 6.5 RC1 happening in the next hour or so, moving this to 6.6 and repurposing the ticket to 6.6 cycle.

#24 @hellofromTonya
4 months ago

  • Keywords changes-requested added
  • Milestone changed from 6.6 to Future Release
  • Owner hellofromTonya deleted

There's a big change coming for @covers for the test suite to be compatible with the newest PHPUnit versions. More details will be coming in a follow-up ticket. The tl;dr version: @covers will not be declared at the test method and will be replaced with a test class level attribute (see PHPUnit Code Coverage).

This ticket and its PRs will be closed once a proposal and ticket(s) are opened for the new scope of work.

For now, moving this ticket to Future Release, though I'd suggest no further work or commits happen for it.

This ticket was mentioned in Slack in #core-test by pbearne. View the logs.


3 months ago

Note: See TracTickets for help on using tickets.