Yii2 got error with Codeception v2.1.5

I try to update codeception in yii app basic to version 2.1.5. After I rebuild codept and run, it generated error like this:

Please don’t tell me that I should walk over the limit of xdebug because I’ve never got this error in codeception v2.0.12.

Probably modifying xdebug.max_nesting_level will solve the problem.


If you have upgraded then maybe you did not clean and build everything - perhaps forgetting to clear unit tests?

You could check the issue tracker of Codeception just to make sure that it is not a bug/issue…

But make sure that everything is cleaned up and if you have Codeception installed globally and locally that they match up.

No. More probably it’s Yii2 and Codeception 2.1.x problem. See this topic: http://www.yiiframework.com/forum/index.php/topic/67508-basic-template-codeception-test-can-only-run-one-by-one/