Skip to content

Instantly share code, notes, and snippets.

@walidum
Created July 25, 2021 16:20
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 walidum/1994b46b09fca189b2dfad54699ee8fd to your computer and use it in GitHub Desktop.
Save walidum/1994b46b09fca189b2dfad54699ee8fd to your computer and use it in GitHub Desktop.
Testing the JUnit5CustomExtensionTester
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
@ExtendWith(JUnit5CustomExtension.class)
public class JUnit5CustomExtensionTester {
@Test
public void myCustomRuleTest() {
System.out.println("Call of a test method");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment