I have PHPUnit installed using composer and everything works as expected. I can run tests and I get the expected output.
This is my composer.json
...
"require-dev":
{
"phpunit/phpunit": "4.1.*",
"piece/stagehand-testrunner": ">=3.6.1"
},
...
I then installed MakeGood 2.5 using the marketplace,
- Under Makegood > General I selected the preload script
- The file pattern I use is 'test.php$'
- Under Makegood > PHPUnit I have given the path to the configuration file.
- Under PHP Include Path > Libraries I have added the path to composer/vendor.
But when I select a test file and I right click and select 'Run Tests' the bootstrap file is never called.
Even if I manually add 'require_once "vendor/autoload.php";'
to the file, the test is not actually run.
My guess is that the script is not started properly somehow.
Any suggestions as to what I am doing wrong? How can I run my tests from within Eclipse using MakeGood?
Thanks
FFMG