JUnit 4 Tests

public class TestSuite {

    @Test
    public final void alwaysTrue() {
        Assert.assertTrue(true);
    }

}

Integration Test With Spring

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { TestConfig.class })
@TestPropertySource({ "classpath:config/test.properties" })
@DisplayName("An integration test suite")
public class ITSuite

Last updated