-
|
Is there a helper function to locate the fixture path inside a test? e.g. |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
May 15, 2024
Replies: 2 comments 5 replies
-
|
Testbench recommends adding any fixtures to |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
bilogic
-
|
In latest version you should be able to do the following: cd /laravel/project;
TESTBENCH_WORKING_PATH=/laravel/project/vendor/my/package php vendor/bin/phpunit /laravel/project/vendor/my/package/tests/Feature/Example.php \
--filter '^.*::test_example_case( .*)?$' \
--configuration /laravel/project/vendor/my/package/phpunit.xml \
--testdox \
--stop-on-failure |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Testbench recommends adding any fixtures to
workbenchdirectory, and you can useworkbench_path()