[wp-trac] [WordPress Trac] #43218: PHPUnit 7.x support
WordPress Trac
noreply at wordpress.org
Wed Jan 30 02:55:08 UTC 2019
#43218: PHPUnit 7.x support
------------------------------------------------+--------------------------
Reporter: ayeshrajans | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.1
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-docs needs-testing | Focuses:
------------------------------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:46 SergeyBiryukov]:
> For some reason, using a `@ticket` annotation as a `--group` parameter
(e.g. `phpunit --group 21117`) works in PHPUnit 7.1 and older versions,
but not in PHPUnit 7.2+.
Not specific to `@ticket`, numeric groups don't work in PHPUnit 7.2+
either. If a test is marked as:
{{{
/**
* @ticket 21117
* @group 21117
* @group test-group
*/
}}}
only `test-group` works.
`phpunit list-groups` does include `21117` though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43218#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list