Class TestCase
java.lang.Object
de.ikor.sip.foundation.testkit.workflow.TestCase
Class containing everything necessary for test execution.
-
Constructor Summary
ConstructorDescriptionTestCase
(String testName, List<Mock> mocks, TestCaseValidator validator, TestExecutionStatus testExecutionStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear mocks after executionvoid
reportExecutionException
(Exception exception) Signal this test case that the Exception happened so the TestReport can be updatedvoid
run()
Start Test execution
-
Constructor Details
-
TestCase
public TestCase(String testName, List<Mock> mocks, TestCaseValidator validator, TestExecutionStatus testExecutionStatus)
-
-
Method Details
-
run
public void run()Start Test execution -
clearMocks
public void clearMocks()Clear mocks after execution -
reportExecutionException
Signal this test case that the Exception happened so the TestReport can be updated- Parameters:
exception
- that happened
-