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 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

      public TestCase generateTestCase(TestCaseDefinition testCaseDefinition)
      Creation and initialisation of a single test case from a definition.
      Parameters:
      testCaseDefinition - Definition of a single test case TestCaseDefinition
      Returns:
      a new test case TestCase