pestphp / pest

Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
https://pestphp.com
MIT License
9.49k stars 343 forks source link

[2.x] Added onlyOn* methods to run the test only on a specific OS #1012

Closed nahime0 closed 10 months ago

nahime0 commented 10 months ago

What:

Description:

Sometimes a test should run only on one explicit OS. It's easier to use onlyOn{OS}, rather than skipping all other OSes. This PR introduces:

Related:

Related to the issue/improvement https://github.com/pestphp/pest/issues/1011

nunomaduro commented 10 months ago

can you document this? thanks!

nahime0 commented 10 months ago

Sure @nunomaduro, https://github.com/pestphp/docs/pull/243