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
I ran into a situation where I feel that PHPUnit should have marked a test case as failed, but instead marked it as OK.
<?php class RiskyTest extends PHPUnit_Framework_TestCase { public function testFailure() { ob_start(); $this->assertTrue(false); } }
Using phpunit 4.2.2, I ran:
php phpunit.phar RiskyTest PHPUnit 4.2.2 by Sebastian Bergmann. R Time: 22 ms, Memory: 2.50Mb OK, but incomplete, skipped, or risky tests! Tests: 1, Assertions: 1, Risky: 1.
I would have expected such a test case to fail.
The text was updated successfully, but these errors were encountered:
Thanks, @markstory. This should be fixed in the next stable release.
Sorry, something went wrong.
9cde063
Thanks @whatthejeff 👍
whatthejeff
No branches or pull requests
I ran into a situation where I feel that PHPUnit should have marked a test case as failed, but instead marked it as OK.
Using phpunit 4.2.2, I ran:
I would have expected such a test case to fail.
The text was updated successfully, but these errors were encountered: