-
Notifications
You must be signed in to change notification settings - Fork 3.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
Add an option to ignore timeouts #738
Comments
Can you elaborate? What kind of mechanism would JUnit provide? This isn't David On Tue, Sep 17, 2013 at 11:58 AM, entlicher notifications@github.comwrote:
|
It could support a command-line option or system property to disable all test timeouts. IDE plugins and build scripts could optionally provide that option when debugging. |
@snargleplax does #956 solve this problem for you? |
Thanks for the DisableOnDebug rule. It's more generic than just timeout handling. |
@kcooney Yes, thanks for the pointer to that. I updated to 4.12-beta-2 and was able to get the behavior I want from DisableOnDebug. |
IDEs and build tools don't use our code to parse flags, so using flags isn't a great option. We could enable features via system properties, but some of the maintainers aren't thrilled with configuration via system properties, and you would have to remember to setup your IDE to set the system property anyway. If the disable-on-debug feature works well, we could enable it my default in a future JUnit release. |
O.K. Thanks for your comments. And for the DisableOnDebug. |
Closing this issue for now. |
When debugging JUnit tests, they often fails with timeout exception, when timeouts are set for individual methods via @test(timeout=...) annotations. It would be valuable, when debugger could set an option to ignore all test timeouts.
See e.g.: https://netbeans.org/bugzilla/show_bug.cgi?id=161568
The text was updated successfully, but these errors were encountered: