Page 1 of 1

Custom phpunit - missing bootstrap file

PostPosted: November 30th, 2018, 3:05 pm
by nigeln42
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

Re: Custom phpunit - missing bootstrap file

PostPosted: November 30th, 2018, 4:07 pm
by nigeln42
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.