We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If executing a test with a dependency to other test which was not executed an error occurs:
Example/ExampleTest ERR> PHP Notice: Undefined index: in /.../selenium-tests/vendor/lmc/steward/src/Listener/TestStatusListener.php on line 117 Example/ExampleTest ERR> PHP Stack trace: Example/ExampleTest ERR> PHP 1. {main}() /.../selenium-tests/vendor/phpunit/phpunit/phpunit:0 Example/ExampleTest ERR> PHP 2. PHPUnit_TextUI_Command::main() /.../selenium-tests/vendor/phpunit/phpunit/phpunit:52 Example/ExampleTest ERR> PHP 3. PHPUnit_TextUI_Command->run() /.../selenium-tests/vendor/phpunit/phpunit/src/TextUI/Command.php:116 Example/ExampleTest ERR> PHP 4. PHPUnit_TextUI_TestRunner->doRun() /.../selenium-tests/vendor/phpunit/phpunit/src/TextUI/Command.php:186 Example/ExampleTest ERR> PHP 5. PHPUnit_Framework_TestSuite->run() /.../selenium-tests/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:517 Example/ExampleTest ERR> PHP 6. PHPUnit_Framework_TestCase->run() /.../selenium-tests/vendor/phpunit/phpunit/src/Framework/TestSuite.php:722 Example/ExampleTest ERR> PHP 7. PHPUnit_Framework_TestCase->handleDependencies() /.../selenium-tests/vendor/phpunit/phpunit/src/Framework/TestCase.php:760 Example/ExampleTest ERR> PHP 8. PHPUnit_Framework_TestResult->endTest() /.../selenium-tests/vendor/phpunit/phpunit/src/Framework/TestCase.php:2062 Example/ExampleTest ERR> PHP 9. Lmc\Steward\Listener\TestStatusListener->endTest() /.../selenium-tests/vendor/phpunit/phpunit/src/Framework/TestResult.php:399
The text was updated successfully, but these errors were encountered:
This probably happens when none test from the testcase is selected to be run (using combination of --pattern and --filter options).
--pattern
--filter
The proper behavior should probably be to not report anything, if there is no test name passed to the listener.
Sorry, something went wrong.
It seems the root cause was actually a bug in PHPUnit: sebastianbergmann/phpunit#3379 - skipped tests has wrong status.
Should be fixed with PHPUnit 7.4.4 (= with Steward 3.0).
No branches or pull requests
If executing a test with a dependency to other test which was not executed an error occurs:
The text was updated successfully, but these errors were encountered: