Skip to content

Instantly share code, notes, and snippets.

@steinim
Created September 11, 2011 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steinim/1209348 to your computer and use it in GitHub Desktop.
Save steinim/1209348 to your computer and use it in GitHub Desktop.
Slow test with Spring
@IfProfileValue(name = "slowtests", value = "true")
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "/applicationContext-itest.xml" })
public class MySlowIntegrationTest {
...
@Test
public void is_this_slowtest_working() {
...
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment