Class TestCasesConfig
- java.lang.Object
-
- de.ikor.sip.foundation.testkit.config.TestCasesConfig
-
@Component public class TestCasesConfig extends Object
Configuration class used for creation of batch test cases based on test definitions.
-
-
Constructor Summary
Constructors Constructor Description TestCasesConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestCase
generateTestCase(TestCaseDefinition testCaseDefinition)
Creation and initialisation of a single test case from a definition.void
generateTestCases()
Creates test cases based on batch test cases definition.
-
-
-
Method Detail
-
generateTestCases
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void generateTestCases()
Creates test cases based on batch test cases definition.
-
generateTestCase
public TestCase generateTestCase(TestCaseDefinition testCaseDefinition)
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
-
-