Home > other >  How can I run a specific example using PEST (PHP)
How can I run a specific example using PEST (PHP)

Time:12-28

Now I use ./vendor/bin/pest as explained in the docs. But that makes me run all tests. What if I only want to run one specific example? Do I need to use groups or can it be done in an easier way?

CodePudding user response:

Filtering of tests isn’t part of the Pest framework, instead that is handled by the underlying test runner. This is most commonly PHPUnit and you can find a list of the CLI options in their docs.

  • Related