Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. import org.junit.jupiter.api.AfterAll;
  2. import org.junit.jupiter.api.BeforeAll;
  3. import org.junit.platform.runner.JUnitPlatform;
  4. import org.junit.platform.suite.api.SelectClasses;
  5. import org.junit.runner.RunWith;
  6.  
  7. @RunWith(JUnitPlatform.class)
  8. @SelectClasses({
  9. MyControllerTest.class
  10. })
  11. public class AdminAppTest {
  12.  
  13. @BeforeAll
  14. public static void setUp() {
  15. System.out.println("setting up");
  16. }
  17.  
  18. @AfterAll
  19. public static void tearDown() {
  20. System.out.println("tearing down");
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement