My command:
phpunit --log-junit /log/unitreport.xml --coverage-clover /log/result.xml --coverage- html /log/coverage /sites/all/modules/delete_shopping_cart/
Files to test which are in the directory:
delete_shopping_cart_Test.php another_Test.php
Output:
Cannot open file "/sites/all/modules/delete/shopping/cart/.php"
why is phpunit taking the '_" of the directory and treating it as a '/' ?
how do I change this so that it goes to the correct location.
Autoloaders tend to treat underscores as separate directories:
A_B_C
becomes
+- A
| +- B
| | +- C
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With