Many of the resources on the Internet will tell you to set the bootstrap property of the project to bootstrap.php.cache. However, that does not work. This is what I did to make it work;
- Right click on the project and select properties.
- Under Testing, select PHPUnit on the dialog.
- Check Use Bootstrap options.
- Click browse to select bootstrap file.
- Choose your app/autoload.php.
- Click ok and run your test again.
This should work now.
No comments:
Post a Comment