Class TestCasesConfig
java.lang.Object
de.ikor.sip.foundation.testkit.config.TestCasesConfig
Configuration class used for creation of batch test cases based on test definitions.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateTestCase
(TestCaseDefinition testCaseDefinition) Creation and initialisation of a single test case from a definition.void
Creates test cases based on batch test cases definition.
-
Field Details
-
WHEN_EXECUTE
- See Also:
-
WITH_MOCKS
- See Also:
-
THEN_EXPECT
- See Also:
-
-
Constructor Details
-
TestCasesConfig
public TestCasesConfig()
-
-
Method Details
-
generateTestCases
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void generateTestCases()Creates test cases based on batch test cases definition. -
generateTestCase
Creation and initialisation of a single test case from a definition.- Parameters:
testCaseDefinition
- Definition of a single test caseTestCaseDefinition
- Returns:
- a new test case
TestCase
-