Skip to content
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

TestRule to disable specific other TestRules when debugging without modification to the test class #956

Merged
merged 1 commit into from
Jul 25, 2014

Commits on Jul 24, 2014

  1. Feature to disable TestRules when the test class being ran has been

    launched in debug mode.
    
    This feature is immediately useful with @Timeouts by disabling them
    during debugging allowing developers time to debug at their leisure
    without the test terminating abruptly.
    
    Timeouts or time sensitive logic in the code under test is not handled
    by this feature and may make this unuseful in some circumstances.
    
    The important benefit of this feature is that you can suspend rules
    without any making any modifications to your test class to remove them
    during debugging. Anecdotally removing timeouts for debug purposes often
    results in developers forgetting to restore them (including myself!).
    kay committed Jul 24, 2014
    Configuration menu
    Copy the full SHA
    0d84dce View commit details
    Browse the repository at this point in the history