Closed ghost closed 8 years ago
Try to change the row
require $root . '/config/bootstrap.php';
to
require_once $root . '/config/bootstrap.php';
in all bootstrap.php files located inside the specific tests folder e.g. "Functional/bootstrap.php" or "Acceptance/bootstrap.php
@valentinarho mind opening a PR with your solution?
Done! PR #31. Hope it is the right solution to @vtfn problem!
When I run all suites at once (vendor/bin/codecept run), I get a PHPUnit_Framework_Exception about constant already defined. First phpunit complainded about all constants defined in config/path.php, then I wrapped all of them inside 'conditionals definitions'. But the error keeps going through every constant.
When I run one suit at time, I have no problems.