Skip to content

Instantly share code, notes, and snippets.

@Romeh
Created September 3, 2018 15:11
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 Romeh/45ca467ec85221ed67b80b288f2c407f to your computer and use it in GitHub Desktop.
Save Romeh/45ca467ec85221ed67b80b288f2c407f to your computer and use it in GitHub Desktop.
@ExtendWith(SpringExtension.class)
@SpringBootTest
public class SpringBootJunit5IntegrationTest {
@Autowired
private ShowService showService;
@Test
@DisplayName("Integration test which will get the actual output of text service")
public void contextLoads() {
assertEquals(showService.getShowLable(), ORIGINAL_OUTPUT);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment