-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
skip test with annotation #2875
Comments
I do not think that this would be useful. |
Also, this would allow to skip data provider too. In my current project I have a piece of massively tested new functionality. The data provider for a single test method returns some hundreds of data sets. The functionality is already merged into master, but the client asked to disable it temporarily for business-wise reasons. If I use What I want is to be able to skip a test without all the useless verboseness. I tried a workaround prepending test method name with Adding a "disabled" group to it doesn't work for me too, because the test case already has "functional" group assigned, and when I run @sebastianbergmann please give it a second thought. |
this - using |
@adrian-enspired thank you for mentioning this, the data providers for skipped tests are on my list for #3736.
|
Oops. I just noticed the previous discussion upthread. @sebastianbergmann I will make a |
It would be nice to be able to skip test with an annotation, eg
@skipTest "needs bla bla bla"
The main advantage with this is that it could skip the
setUp
/tearDown
too and make the test suite a bit fasterThe text was updated successfully, but these errors were encountered: