-
Notifications
You must be signed in to change notification settings - Fork 56
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
using of debugger corrupts the testmon database #114
Comments
As @blueyed noted, a reproducible test case would be the best. If we don't have that there is a couple of paths how to advance, but they are not quick. I'll try to comment here when I have the ideas formulated. I don't think "conservative mode" is a way to go. We just need to fix the one (maybe 2) bugs. What could be of value would be a functionality of "force-run" which would run selected tests and write the new coverage data. |
👍
Isn't that what In general I think some more reporting on what gets deselected why could be very useful. |
👍
This would be a refined & better version of what I do now:
I'll try and spot some pattern for what could be causing the issues. Without being able to inspect what's going on (e.g. look at the DB), it's difficult to build a repro case from a bunch of failures in the project... |
No, --tlf is a testmon equivalent of --lf from the pytest itself.
So it reruns the failing tests, regardless if they are affected or not. (e.g. for debugging purposes - which is questionable because debuggers and testmon clash) @max-imlian Are your using debugger and testmon at the same time? That might explain, your problems. |
Yes! |
@max-imlian That is not working, sorry. See #97 (duplicate) |
Thanks @tarpas To be clear, this includes the |
--pdb runs pdb on exception? Then I assume pdb calls settrace and messes
things up, yes.
…On Wed, Aug 1, 2018 at 5:37 PM, Maximilian Roos ***@***.***> wrote:
Thanks @tarpas <https://github.com/tarpas>
To be clear, this includes the --pdb option?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIQsBe5pUFanL6M9pklSDSitNh7Eqmaks5uMcsvgaJpZM4VnKtR>
.
|
OK, thanks, that explains a lot |
from @max-imlian #90 (comment)
FYI I'm still having real issues with testmon, where it doesn't run tests despite both changes in the code and existing failures, even when I pass --tlf.
I love the goals of testmon, and it's performs so well in 90% of cases that it's become an essential part of my workflow. As a result, when it ignores tests that have changed, it's frustrating. I've found that --tlf often doesn't work, which is a shame as it was often a 'last resort' to testmon making a mistake in ignoring too many tests.
Is there any info I can supply that would help debug this? I'm happy to post anything.
Would there be any use of a 'Conservative' mode, where testmon would lean towards testing too much? A Type I error is far less costly than a Type II.
The text was updated successfully, but these errors were encountered: