-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
RunFailed
module is trying to run removed test
#5938
Comments
RunFailed
module is trying to run removed file RunFailed
module is trying to run removed test
I agree that this error is annoying when it happens, but this behaviour isn't limited to RunFailed and in other circumstances users may want to know that the test listed in the group does not exist. It was implemented by #5792 as a response to comments in #5735
|
I agree that a specific error message or exception would also solve the issue. If it is explicited that the test that is missing is being loaded from RunFailed, it should be fine. |
Oh, I didn't know that all groups are verified before run, I thought that it only affects |
Sorry that I did not described it explicitly enough. I thought that by not mentioning the use of the |
This was very confusing behavior when I started using Codeception, and still continues to trip me up. It's not clear at all that simply running |
Would it be better if error message was |
Or GroupManager: File or directory /home/vagrant/my-project/tests/unit/SomeUnitTest.php set in group failed does not exist |
Specifying the group in error message would help, but since the |
RunFailed extension doesn't do any running, it only updates the group file. |
This is what worked for me. YMMV
This is from #5938 (comment) but in docker form as it took me a while to understand this was the fix. |
What are you trying to achieve?
SomeUnitTest.php
test file with at least one test that failsRunFailed
extension will try to run the deleted file and abort the testsWhat do you get instead?
// paste test
Details
The text was updated successfully, but these errors were encountered: