-
Notifications
You must be signed in to change notification settings - Fork 40
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
Filter option can break tests dependency tree #110
Labels
Comments
Maybe the value passed to PHPUnit --filter option could always be prefixed with something like However, this is only first part of the solution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When option
--filter
is used and it filter out all but one testcase, which has dependency on some previous one (which hasn't been run), the testcase is run despite of this (and may fail on some precondition).For example, when run in
Maybe tests with "No tests executed" should be marked as failed / or skipped? Or the
--filter
option could only be allowed for test methods, not for classes (because for classes the--pattern
option should be used).The text was updated successfully, but these errors were encountered: