-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi!
I run all my tests with command
./bin/codecept run tests/
It includes acceptance tests and unit tests
if I include teststatistics in my project, tests falls with error:
[PHPUnit_Framework_Exception]
Undefined offset: 1
Exception trace:
() at /var/www/site/vendor/codeception/codeception/src/Codeception/Subscriber/ErrorHandler.php:48
Codeception\Subscriber\ErrorHandler->errorHandler() at /var/www/site/vendor/redcomponent/teststatistics/src/Teststatistics.php:53
Codeception\Extension\Teststatistics->beforeTest() at n/a:n/a
call_user_func() at /var/www/site/vendor/symfony/event-dispatcher/EventDispatcher.php:181
Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /var/www/site/vendor/symfony/event-dispatcher/EventDispatcher.php:46
if I run:
./bin/codecept run tests/acceptance/
it ok, but for unit tests this way don't work. I get the same error that the above.
What I am doing wrong?