Custom phpunit - missing bootstrap file
2 posts
• Page 1 of 1
Custom phpunit - missing bootstrap file
Hello,
I'm trying to run a custom phpunit version per instrcutions here:
https://blog.devsense.com/en/2017/06/unit-testing#custom-phpunit
I've installed the latest phpunit, and Test Explorer finds the tests and runs the correct phpunit version. However the test runs fail with due to not finding the file /unitTestBootstrap.php. This is referenced in the phpunit.xml file. Where can I find this file (I assume it's necessary for correct function).
Thanks
I'm trying to run a custom phpunit version per instrcutions here:
https://blog.devsense.com/en/2017/06/unit-testing#custom-phpunit
I've installed the latest phpunit, and Test Explorer finds the tests and runs the correct phpunit version. However the test runs fail with due to not finding the file /unitTestBootstrap.php. This is referenced in the phpunit.xml file. Where can I find this file (I assume it's necessary for correct function).
Thanks
- nigeln42
- Posts: 9
- Joined: April 13th, 2015, 3:43 pm
Re: Custom phpunit - missing bootstrap file
I've made some progress - I removed the reference to /unitTestBootstrap.php. I then had to edit the file PhpTestingPrinter-6.0.php file in Php Tools install directory to fix various compilation errors due to being not compatible with the latest phpunit.
Things now seem to be running OK - please consider this closed.
Things now seem to be running OK - please consider this closed.
- nigeln42
- Posts: 9
- Joined: April 13th, 2015, 3:43 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 48 guests