Created
September 11, 2011 08:49
-
-
Save steinim/1209339 to your computer and use it in GitHub Desktop.
Integration test with Spring
This file contains hidden or 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
@IfProfileValue(name = "integration", value = "true") | |
@RunWith(SpringJUnit4ClassRunner.class) | |
@ContextConfiguration(locations = { "/applicationContext-itest.xml" }) | |
public class MyIntegrationTest { | |
... | |
@Test | |
public void is_this_integration_test_working() { | |
... | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment