-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
phpunit exists unexpectedly when finds @covers tag for non-existing method #1791
Comments
Tested on latest phpunit v4.7.7, and on v4.6.10 result is the same |
This is expected behavior. See #1760 for more details. |
in PHPUnit 3.7 it did just printout an error, which we could fix in PHPUnit 4.7 it just dies. |
this was taken from before the upgrade, v3.7 printed:
now this i understand, and i see what the problem is and i can fix it. The current v4.7 output is unacceptable as it does not provide required information to fix the problem. |
@Gamesh That problem has been very annoying for me. I once had to manually check all the |
thanks a lot @oradwell, this is super useful! |
@oradwell Haven't looked at your tool yet but https://github.com/dunkelfrosch/phpcoverfish by @dunkelfrosch also exists. |
all the tools are really great, i just wish PHPUnit would at least have the courtesy to print out the Class name of the test where it found the |
Expected output:
.E.
Actual ouptut:
ouptut with --debug:
so the testSomeOtherTest() is not even executed.
The text was updated successfully, but these errors were encountered: