Skip to content

Instantly share code, notes, and snippets.

@netodevel
Created December 30, 2016 14:10
Show Gist options
  • Save netodevel/25945e7a9da0e538da44e9c005615fad to your computer and use it in GitHub Desktop.
Save netodevel/25945e7a9da0e538da44e9c005615fad to your computer and use it in GitHub Desktop.
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit4.SpringRunner;
import br.com.paydomestic.DemoApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = DemoApplication.class)
@TestPropertySource(locations="classpath:test.properties")
public class DemoApplicationTests {
@Test
public void contextLoads() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment