Hi,
My fuel project folder structure is a bit unconventional:
/app
/fuel
/public
oil
I'm trying to add phpunit tests to /app/tests/ but they are not being run with the command 'php oil test'.
I also tried copying /fuel/core/phpunit.xml to /app/phpunit.xml but 'php oil test' always reports: "Configuration read from /fuel/core/phpunit.xml"
How can I make built in unit testing work in my setup?
Thanks,
Jakob
For unit tests to run in a modified environment you have to modify the paths in different places:
- oil
- core\bootstrap_phpunit.php
- core\phpunit.xml
I'm not sure you can override both core files with a corresponding version in app, you'll have to see.