-
Notifications
You must be signed in to change notification settings - Fork 9
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
Various factors creating an unparsable rerun log #1
Comments
Steve - this may be totally unrelated, but every now and then I get an import error somewhere, and a |
Ah, interesting. I know what that is: usually when a test is removed, say, and the whole TestCase is missing when rerun tries to run it (or there's an import error in the test which means the test is not discovered). Will make sure that those references are not added to rerun log [ ] Ensure that only full qualified test names, not test classes, can be added to rerun log |
As an example of a borked test leading to a unititest class name ending up in the rerun log:
|
For this I have a workaround in my project’s
Not too beautiful, but it works. I’m not sure if this should be solved on |
If the test run is killed mid-way, there's a risk of an incomplete test path being written to the log, which then causes an import error.
Separately, there are some (still unconfirmed) circumstances where a tests fails (quite possibly due to an import error) which then is handled poorly and a class from unittest is added to the rerun log. This, naturally, will cause the rerun log to fail.
The text was updated successfully, but these errors were encountered: