Custom phpunit - missing bootstrap file

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Custom phpunit - missing bootstrap file

Postby nigeln42 » November 30th, 2018, 3:05 pm

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
nigeln42
 
Posts: 9
Joined: April 13th, 2015, 3:43 pm

Re: Custom phpunit - missing bootstrap file

Postby nigeln42 » November 30th, 2018, 4:07 pm

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.
nigeln42
 
Posts: 9
Joined: April 13th, 2015, 3:43 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 4 guests

cron

User Control Panel

Login

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 89 on October 15th, 2018, 4:06 pm

Users browsing this forum: No registered users and 4 guests
Phalanger