Uses of Enum
net.thucydides.model.domain.TestResult
Packages that use TestResult
Package
Description
The Thucydides domain model, which represents acceptance test runs.
Thucydides generates reports in HTML and XML by default.
-
Uses of TestResult in net.serenitybdd.model.history
Methods in net.serenitybdd.model.history that return TestResultConstructors in net.serenitybdd.model.history with parameters of type TestResultModifierConstructorDescriptionprotectedPreviousTestOutcome(String id, String name, TestResult result, String testFailureSummary) -
Uses of TestResult in net.thucydides.model.domain
Methods in net.thucydides.model.domain that return TestResultModifier and TypeMethodDescriptionstatic TestResultTestOutcome.getAnnotatedResult()TestStep.getOverallResult()DataTableRow.getResult()TestOutcome.getResult()The outcome of the acceptance test, based on the outcome of the test steps.TestStep.getResult()TestOutcome.getStepResult(int stepNumber) TestOutcomeSummary.getTestResult()static TestResultTestResultComparison.overallResultFor(TestResult testResultA, TestResult testResultB) static TestResultTestResultList.overallResultFrom(List<TestResult> results) static TestResultReturns the enum constant of this type with the specified name.static TestResult[]TestResult.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.thucydides.model.domain that return types with arguments of type TestResultModifier and TypeMethodDescriptionTestResult.expanded()TestOutcome.getAllResults()TestOutcome.getAllResultsStream()TestOutcome.getDistinctResults()Methods in net.thucydides.model.domain with parameters of type TestResultModifier and TypeMethodDescriptionbooleanTestOutcome.containsAtLeastOneOutcomeWithResult(TestResult expectedResult) intTestOutcome.countNestedStepsWithResult(TestResult expectedResult, TestType testType) intTestOutcome.countResults(TestResult expectedResult) intTestOutcome.countResults(TestResult expectedResult, TestType expectedType) voidDataTable.RowValueAccessor.hasResult(TestResult result) booleanTestOutcome.hasResult(TestResult result) booleanTestResult.isAtLeast(TestResult minimumTestResult) booleanTestResult.isLessSevereThan(TestResult otherResult) booleanTestResult.isMoreSevereThan(TestResult otherResult) static TestResultTestResultComparison.overallResultFor(TestResult testResultA, TestResult testResultB) voidTestOutcome.overrideAnnotatedResult(TestResult annotatedResult) voidTestOutcome.overrideResult(TestResult result) booleanTestResult.overrides(TestResult result) intOutcomeCounter.percentageWithResult(TestResult expectedResult) TestOutcome.removeTopLevelStepsNotHavingResult(TestResult result) voidTestOutcome.setAllStepsTo(TestResult result) voidTestOutcome.setAnnotatedResult(TestResult annotatedResult) voidDataTableRow.setResult(TestResult result) voidTestOutcome.setResult(TestResult annotatedResult) voidTestStep.setResult(TestResult result) Each test step has a result, indicating the outcome of this step.voidTestOutcome.updateCurrentRowResult(TestResult result) voidTestOutcome.updateDataTableResult(int row, TestResult result) voidDataTableRow.updateResult(TestResult newResult) voidDataTable.updateRowResult(int row, TestResult result) voidTestOutcome.updateTopLevelStepResultsTo(TestResult result) TestOutcome.withExamplesHavingResult(TestResult result) intOutcomeCounter.withResult(TestResult expectedResult) intScenarioOutcomeCounter.withResult(TestResult expectedResult) TestOutcome.withResult(TestResult annotatedResult) TestStep.TestStepBuilder.withResult(TestResult result) TestStep.withResult(TestResult annotatedResult) Method parameters in net.thucydides.model.domain with type arguments of type TestResultModifier and TypeMethodDescriptionstatic TestResultTestResultList.overallResultFrom(List<TestResult> results) Constructors in net.thucydides.model.domain with parameters of type TestResultModifierConstructorDescriptionDataTableRow(List<?> values, long lineNumber, TestResult result) protectedTestOutcome(ZonedDateTime startTime, long duration, String title, String description, String name, String id, String scenarioId, String methodName, Class<?> testCase, List<TestStep> testSteps, List<String> issues, List<String> additionalIssues, List<CastMember> actors, Set<TestTag> tags, TestTag featureTag, Story userStory, FailureCause testFailureCause, String testFailureClassname, String testFailureMessage, String testFailureSummary, TestResult annotatedResult, DataTable dataTable, Optional<String> qualifier, String driver, boolean manualTest, boolean isManualTestingUpToDate, String lastTested, List<String> testEvidence, String projectKey, EnvironmentVariables environmentVariables, ExternalLink externalLink, String context, String testSource) TestResultComparison(TestResult testResultA, TestResult testResultB) -
Uses of TestResult in net.thucydides.model.domain.failures
Methods in net.thucydides.model.domain.failures that return TestResult -
Uses of TestResult in net.thucydides.model.domain.formatters
Methods in net.thucydides.model.domain.formatters with parameters of type TestResultModifier and TypeMethodDescriptionprotected abstract doubleTestCoverageFormatter.FormattedCoverage.percentageWithResult(TestResult expectedResult) protected doubleTestCoverageFormatter.FormattedPercentageCoverage.percentageWithResult(TestResult expectedResult) protected doubleTestCoverageFormatter.FormattedPercentageStepCoverage.percentageWithResult(TestResult expectedResult) TestCoverageFormatter.FormattedCoverage.withResult(TestResult expectedResult) TestCoverageFormatter.FormattedCoverage.withResult(TestResult expectedResult, int precision) -
Uses of TestResult in net.thucydides.model.domain.results
Methods in net.thucydides.model.domain.results that return TestResultModifier and TypeMethodDescriptionNextStepCompromisedStrategy.with(TestResult previousResult) NextStepFailedStrategy.with(TestResult previousResult) NextStepStatusTakesPriorityStrategy.with(TestResult previousResult) NextStepWasSkippedStrategy.with(TestResult previousResult) StepResultMergeStragegy.with(TestResult result) Methods in net.thucydides.model.domain.results with parameters of type TestResultModifier and TypeMethodDescriptionstatic StepResultMergeStragegyMergeStepResultStrategy.whenNextStepResultIs(TestResult nextStepResult) NextStepCompromisedStrategy.with(TestResult previousResult) NextStepFailedStrategy.with(TestResult previousResult) NextStepStatusTakesPriorityStrategy.with(TestResult previousResult) NextStepWasSkippedStrategy.with(TestResult previousResult) StepResultMergeStragegy.with(TestResult result) Constructors in net.thucydides.model.domain.results with parameters of type TestResultModifierConstructorDescriptionNextStepCompromisedStrategy(TestResult nextStepResult) NextStepFailedStrategy(TestResult nextStepResult) NextStepStatusTakesPriorityStrategy(TestResult nextStepResult) NextStepWasSkippedStrategy(TestResult nextStepResult) -
Uses of TestResult in net.thucydides.model.logging
Methods in net.thucydides.model.logging with parameters of type TestResultModifier and TypeMethodDescriptionstatic ConsoleEventConsoleEvent.forTestResult(TestResult result) voidConsoleLoggingListener.takeScreenshots(TestResult testResult, List<ScreenshotAndHtmlSource> screenshots) -
Uses of TestResult in net.thucydides.model.matchers
Methods in net.thucydides.model.matchers with parameters of type TestResultModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<TestOutcome> PublicThucydidesMatchers.containsResults(TestResult... testResults) Constructors in net.thucydides.model.matchers with parameters of type TestResult -
Uses of TestResult in net.thucydides.model.reports
Methods in net.thucydides.model.reports that return TestResultModifier and TypeMethodDescriptionResultChecker.checkTestResults()ResultChecker.checkTestResults(TestOutcomes outcomes) TestOutcomes.getResult()Methods in net.thucydides.model.reports that return types with arguments of type TestResultMethods in net.thucydides.model.reports with parameters of type TestResultModifier and TypeMethodDescriptionprotected intTestOutcomes.countTestsWithResult(TestResult expectedResult, TestType testType) longTestOutcomes.countWithResult(TestType expectedType, TestResult expectedResult) static OutcomeSummaryOutcomeSummary.forOutcome(TestResult outcome) TestOutcomes.havingResult(TestResult expectedResult) TestOutcomes.scenarioCountWithResult(TestResult result) TestOutcomes.OutcomeProportionCounter.withResult(TestResult testResult) TestOutcomes.OutcomeProportionStepCounter.withResult(TestResult expectedResult) TestOutcomes.withResult(TestResult result) TestOutcomes.withResultFilter(TestResult testResult) Constructors in net.thucydides.model.reports with parameters of type TestResultModifierConstructorDescriptionOutcomeSummary(TestResult outcome) protectedTestOutcomes(Collection<? extends TestOutcome> outcomes, String label, TestTag testTag, TestResult resultFilter, TestOutcomes rootOutcomes, EnvironmentVariables environmentVariables) protectedTestOutcomes(List<? extends TestOutcome> outcomes, String label, TestResult resultFilter) -
Uses of TestResult in net.thucydides.model.reports.adaptors.specflow
Methods in net.thucydides.model.reports.adaptors.specflow that return TestResult -
Uses of TestResult in net.thucydides.model.reports.html
Methods in net.thucydides.model.reports.html with parameters of type TestResultModifier and TypeMethodDescriptionResultIconFormatter.colorFor(TestResult result) ResultIconFormatter.forResult(TestResult result) ResultIconFormatter.forResult(TestResult result, String htmlReport) longScenarioResultCounts.getOverallTestCount(TestResult expectedResult) ScenarioResultCounts.getOverallTestPercentage(TestResult expectedResult) -
Uses of TestResult in net.thucydides.model.reports.matchers
Methods in net.thucydides.model.reports.matchers with parameters of type TestResultModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<TestOutcome> TestOutcomeMatchers.withResult(TestResult expectedResult) -
Uses of TestResult in net.thucydides.model.requirements.reports
Methods in net.thucydides.model.requirements.reports that return TestResultModifier and TypeMethodDescriptionExampleOutcome.getResult()ScenarioOutcome.getResult()ScenarioSummaryOutcome.getResult()SingleScenarioOutcome.getResult()TestCaseResultCount.getResult()Methods in net.thucydides.model.requirements.reports that return types with arguments of type TestResultMethods in net.thucydides.model.requirements.reports with parameters of type TestResultModifier and TypeMethodDescriptionlongAcceptanceCriteriaRequirmentCounter.countSubrequirementsWithResult(TestResult result) longChildRequirementCounter.countSubrequirementsWithResult(TestResult expectedResult) intRequirementOutcome.OutcomeCounter.withResult(TestResult expectedResult) RequirementsPercentageFormatter.withResult(TestResult expectedResult) RequirementsProportionCounter.withResult(TestResult expectedTestResult) Constructors in net.thucydides.model.requirements.reports with parameters of type TestResultModifierConstructorDescriptionExampleOutcome(String title, String subtitle, TestResult result, ZonedDateTime startTime, long duration, long stepCount) ScenarioSummaryOutcome(String name, String type, TestResult result, List<String> reportBadges, String scenarioReport, String description, List<String> steps, List<String> examples, List<ExampleOutcome> exampleOutcomes, int exampleCount, Boolean isManual, String parentName, String parentReport, Set<TestTag> tags, Map<String, Collection<TestTag>> exampleTags, Rule rule, ZonedDateTime startTime, Long duration, Collection<TestTag> scenarioTags, String context) SingleScenarioOutcome(String name, String simplifiedName, String type, TestResult result, String scenarioReport, ZonedDateTime startTime, Long duration, Boolean manual, String description, List<String> steps, List<String> examples, int exampleCount, String parentName, String parentReport, Set<TestTag> tags, Rule rule, ExternalLink externalLink, Collection<TestTag> scenarioTags, String context) TestCaseResultCount(TestResult result) -
Uses of TestResult in net.thucydides.model.steps
Methods in net.thucydides.model.steps that return TestResultMethods in net.thucydides.model.steps with parameters of type TestResultModifier and TypeMethodDescriptionvoidStepListener.takeScreenshots(TestResult testResult, List<ScreenshotAndHtmlSource> screenshots) Constructors in net.thucydides.model.steps with parameters of type TestResultModifierConstructorDescriptionTestFailureCause(Throwable originalCause, FailureCause rootCause, String testFailureClassname, String testFailureMessage, TestResult annotatedResult)