Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import org.junit.jupiter.api.*;
@DisplayName("This is standard test.")
class StandardTest {
static void beforeAll() {
System.out.println("executed before all test just once.");
void beforeEach() {
System.out.println("executed before each test.");
void test1() {
System.out.println("This is test1.");
@Disabled("This is Disabled test.")
void test2() {
System.out.println("This is test2.");
void test3() {
System.out.println("This is test3.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment