Welcome Guest, Not a member yet? Register   Sign In
phpUnit test working directory
#3

(11-25-2021, 07:20 AM)Taras Wrote: Do you try to run tests from public? You should run them from your projects dir like "./vendor/bin/phpunit" and it should work without any tweaks.

I run tests with :
php 'c:/wamp64/codeigniter4/vendor/phpunit/phpunit/phpunit' --colors=always -c c:/wamp64/codeigniter4/phpunit.xml --testsuite 'app'
Reply


Messages In This Thread
phpUnit test working directory - by paul - 11-25-2021, 05:53 AM
RE: phpUnit test working directory - by Taras - 11-25-2021, 07:20 AM
RE: phpUnit test working directory - by paul - 11-25-2021, 08:01 AM
RE: phpUnit test working directory - by Taras - 11-25-2021, 09:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB