You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried out the mutation plugin for pest but every time I tried it, it tells me that 0 Mutations for 0 Files were created.
~\Herd\example-app git:[master]
./vendor/bin/pest --mutate
...
Tests: 3 passed (4 assertions)
Duration: 0.89s
Mutating application files...
0 Mutations for 0 Files created
Mutations: 0 tested
Score: 0.00%
Duration: 0.00s
INFO No mutations created.
I tried it with the new PHPStorm version, too. But it looks like the same result:
C:\Users\schon\.config\herd\bin\php82\php.exe -dzend_extension=C:\Users\schon\.config\herd\bin\xdebug\xdebug-8.2.dll -dxdebug.mode=coverage C:\Users\schon\Herd\example-app\vendor\pestphp\pest\bin\pest --teamcity --mutate --configuration C:/Users/schon/Herd/example-app/phpunit.xml C:\Users\schon\Herd\example-app\tests\Feature\Http\Controllers\TestControllerTest.php
Tests: 3 passed (4 assertions)
Duration: 0.85s
Mutating application files...
0 Mutations for 0 Files created
Mutations: 0 tested
Score: 0.00%
Duration: 0.00s
INFO No mutations created.
Process finished with exit code 0
Hopefully someone has a guess why it won't work for me and my colleges at work.
How to Reproduce
You can use my sample repo and just run ./vendor/bin/pest --mutate.
I added the example mentioned in the mutation site on pestphp to the example repo (https://pestphp.com/docs/mutation-testing) and tried it. It is the same result in the demo as in my main repo.
What Happened
Hello,
I tried out the mutation plugin for pest but every time I tried it, it tells me that 0 Mutations for 0 Files were created.
I tried it with the new PHPStorm version, too. But it looks like the same result:
Hopefully someone has a guess why it won't work for me and my colleges at work.
How to Reproduce
You can use my sample repo and just run
./vendor/bin/pest --mutate
.I added the example mentioned in the mutation site on pestphp to the example repo (https://pestphp.com/docs/mutation-testing) and tried it. It is the same result in the demo as in my main repo.
Sample Repository
https://github.com/schonhoff/mutate-fail-example
Pest Version
3.5.1
PHP Version
8.3.13
Operation System
Windows
Notes
I'm using Laravel Herd on Windows.
Here is my config:
php.ini
The text was updated successfully, but these errors were encountered: