Uses of Interface
org.citrusframework.TestCase
Packages that use TestCase
-
Uses of TestCase in org.citrusframework
Methods in org.citrusframework that return TestCaseMethods in org.citrusframework with parameters of type TestCaseModifier and TypeMethodDescriptionTestResultInstanceProvider.createFailed(TestCase testCase, Throwable throwable) TestResultInstanceProvider.createSkipped(TestCase testCase) TestResultInstanceProvider.createSuccess(TestCase testCase) TestCaseRunnerProvider.createTestCaseRunner(TestCase testCase, TestContext context) Creates a TestCaseRunner which runs the givenTestCaseand the givenTestContext. -
Uses of TestCase in org.citrusframework.common
Methods in org.citrusframework.common that return TestCaseModifier and TypeMethodDescriptionTestLoader.getTestCase()Gets the loaded test case or null if it has not been loaded yet.Method parameters in org.citrusframework.common with type arguments of type TestCaseModifier and TypeMethodDescriptionvoidTestLoader.configureTestCase(Consumer<TestCase> handler) Adds test case handler that is called before test case gets executed.voidTestLoader.doWithTestCase(Consumer<TestCase> handler) Adds test case handler that is called once the test case has been loaded. -
Uses of TestCase in org.citrusframework.report
Methods in org.citrusframework.report with parameters of type TestCaseModifier and TypeMethodDescriptiondefault voidTestListener.onAfterTestEnd(TestCase test) Invoked whenAfterTestexecution ends, only if any existvoidTestListeners.onAfterTestEnd(TestCase test) default voidTestListener.onAfterTestStart(TestCase test) Invoked whenAfterTestexecution starts, only if any existvoidTestListeners.onAfterTestStart(TestCase test) default voidTestListener.onBeforeTestEnd(TestCase test) Invoked whenBeforeTestexecution ends, only if any existvoidTestListeners.onBeforeTestEnd(TestCase test) default voidTestListener.onBeforeTestStart(TestCase test) Invoked whenBeforeTestexecution starts, only if any existvoidTestListeners.onBeforeTestStart(TestCase test) default voidTestListener.onFinalActionsEnd(TestCase test) Invoked after final actions have completely finished, only if any existvoidTestListeners.onFinalActionsEnd(TestCase test) default voidTestListener.onFinalActionsStart(TestCase test) Invoked when final actions start, only if any existvoidTestListeners.onFinalActionsStart(TestCase test) voidTestActionListener.onTestActionFinish(TestCase testCase, TestAction testAction) Invoked when test gets finishedvoidTestActionListeners.onTestActionFinish(TestCase testCase, TestAction testAction) voidTestActionListener.onTestActionSkipped(TestCase testCase, TestAction testAction) Invoked when test is skippedvoidTestActionListeners.onTestActionSkipped(TestCase testCase, TestAction testAction) voidTestActionListener.onTestActionStart(TestCase testCase, TestAction testAction) Invoked when test gets startedvoidTestActionListeners.onTestActionStart(TestCase testCase, TestAction testAction) default voidInvoked at the very end of test executiondefault voidTestListener.onTestExecutionEnd(TestCase test) Invoked when test execution has ended (after final actions execution and beforeAfterTestexecution)voidTestListeners.onTestExecutionEnd(TestCase test) voidTestReporters.onTestExecutionEnd(TestCase test) default voidTestListener.onTestExecutionStart(TestCase test) Invoked when test execution starts (afterBeforeTestexecution} execution)voidTestListeners.onTestExecutionStart(TestCase test) voidTestListener.onTestFailure(TestCase test, Throwable cause) Invoked when a test finishes with failurevoidTestListeners.onTestFailure(TestCase test, Throwable cause) voidTestReporters.onTestFailure(TestCase test, Throwable cause) voidTestListeners.onTestFinalization(TestCase test) default voidTestListener.onTestFinish(TestCase test) Deprecated, for removal: This API element is subject to removal in a future version.voidTestListeners.onTestFinish(TestCase test) Deprecated, for removal: This API element is subject to removal in a future version.voidTestListener.onTestSkipped(TestCase test) Invoked when a test is skippedvoidTestListeners.onTestSkipped(TestCase test) voidTestReporters.onTestSkipped(TestCase test) voidTestListener.onTestStart(TestCase test) Invoked when test when a test starts executionvoidTestListeners.onTestStart(TestCase test) voidTestReporters.onTestStart(TestCase test) voidTestListener.onTestSuccess(TestCase test) Invoked when a test finishes successfullyvoidTestListeners.onTestSuccess(TestCase test) voidTestReporters.onTestSuccess(TestCase test)
TestListener.onTestExecutionEnd(TestCase)