-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subdirectory support under tests/ #20
Comments
Hmmm, so I tried setting up pest using In the template file you can set the <testsuites>
<testsuite name="Unit Test Suite">
<directory>./tests/Unit/</directory>
</testsuite>
<testsuite name="Integration Test Suite">
<directory>./tests/Integration/</directory>
</testsuite>
</testsuites> |
Manually moving things around to the desired directory structure as mentioned, here's what worked for me:
|
I'll try to see if I can add another parameter or option to specify the folder so that this is automated 👍🏼 |
Describe your feature request
It seems that PEST gets initialized in the
tests
directory only. It would be nice if we can get an option to initialize it in a subdirectory undertests
liketests/pest
. The reason is that there can be other test files in thetests
dir like:Describe the solution you'd like
Allow initialization in a subsdirectory at least under
tests
dir. Probably use --test-directory option of PEST on init or something along those lines.Please confirm that you have searched existing issues and discussions about this feature.
Yes
The text was updated successfully, but these errors were encountered: