Closed robbieaverill closed 7 years ago
Specifically, there is an exception being thrown in this case (see here) however it isn't thrown out in my console and exits with 0
It turned out that we had a custom error handler swallowing the exception messages. Closing.
PHPUnit: 4.8.16 PHP: 5.5.30 EcomDev_PHPUnit: latest from "dev"
I had a scenario where I had two helpers, each with their own tests. Example structure:
I moved the DataTest.php into the DataTest folder, and took the fixture with it. After running the test suite overall, the tests died silently somewhere in the middle.
echo $?
returns0
with no output, even while running verbose and debug.I'm guessing that the fixture couldn't be found, but there wasn't an exception message thrown?
Will investigate tomorrow, but it might be worth adding one if this is the case. I'm not sure whether it's specific to shared fixtures/caching/etc, but thought it was worth noting.
When I moved
myfixture.yaml
back into theTest/Helper/fixtures
directory, both test classes worked correctly again.