Created
November 5, 2012 14:49
-
-
Save szydan/4017536 to your computer and use it in GitHub Desktop.
how to conditionally ignore junit test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testAdd() { | |
Assume.assumeTrue(someCondition()); | |
// eg Assume.assumeTrue(SystemUtils.IS_OS_UNIX); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment