Closed aedart closed 7 years ago
@aedart I don't think this is related to this project. Do yo get same error if try to execute directly on CLI(without PHPCI)?
Ups - uhm, not sure how this issue landed here. Please ignore this issue, as it is related to Codeception / PHP Unit...
Very sorry :)
Moved issue to https://github.com/Codeception/Codeception/issues/3870
I'm in the process of writing a few tests for an asynchronous session package. However, sometimes my test fail, yet it isn't due to my code... Well, at least not as far as I can see?
Expected behaviour
No test to fail because of test-framework
Actual behaviour
Tests do not execute as expected, when no
default
group detail is available insideSuiteManager
. No feedback is given, yet it appears that this affects some PHP components.Steps to reproduce
I have no clue why the "group" details are not available in the first place or when they should be. Thus, no idea how to reproduce ... But, I finally found the defect by adding a shutdown handler;
Possible Solution
Ensure that
default
group details are only set, if available, e.g.(Inside SuiteManager.php,
addToSuite
method)Environment info
Codeception: 2.2.7 Operating System: ubuntu PHP Version: 5.6.29-1+deb.sury.org~xenial+1 (cli) MySQL Version: N/A
Logs or other output that would be helpful