Package dev.enola.common.context.testlib
Class TestContextRule
java.lang.Object
dev.enola.common.context.testlib.TestTLCRule
dev.enola.common.context.testlib.TestContextRule
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension
JUnit rule to set
TestContext.
Usage: @RegisterExtension TestContextRule rule = new TestContextRule();
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.enola.common.context.testlib.TestTLCRule
afterAll, afterEach, beforeAll, beforeEach, of, of
-
Constructor Details
-
TestContextRule
public TestContextRule()
-
-
Method Details
-
before
- Overrides:
beforein classTestTLCRule
-
after
- Overrides:
afterin classTestTLCRule
-