Closed azonedev closed 5 months ago
I think you didn't add it to your testsuites!
In your phpunit.xml
file, you should see a section that looks like:
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
You'll need to add something in for your Architecture tests:
<testsuite name="Architecture">
<directory>tests/Architecture</directory>
</testsuite>
I created a folder inside the tests, as the image shows![image](https://github.com/pestphp/pest/assets/45127367/a3578e69-5341-49b6-8dbf-cdaa20448c57)
When I run the tests then it only runs the Unit folders tests. not architecture folder tests. How can I fix this? Note: I didn't change anything on
Pest.php
orTestCase.php