Uses of Enum
net.thucydides.core.model.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.core.history
Methods in net.serenitybdd.core.history that return TestResultConstructors in net.serenitybdd.core.history with parameters of type TestResultModifierConstructorDescriptionprotectedPreviousTestOutcome(String id, String name, TestResult result, String testFailureSummary) -
Uses of TestResult in net.thucydides.core.logging
Methods in net.thucydides.core.logging with parameters of type TestResultModifier and TypeMethodDescriptionstatic ConsoleEventConsoleEvent.forTestResult(TestResult result) -
Uses of TestResult in net.thucydides.core.matchers
Methods in net.thucydides.core.matchers with parameters of type TestResultModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<TestOutcome>PublicThucydidesMatchers.containsResults(TestResult... testResults) Constructors in net.thucydides.core.matchers with parameters of type TestResult -
Uses of TestResult in net.thucydides.core.model
Methods in net.thucydides.core.model that return TestResultModifier and TypeMethodDescriptionstatic TestResultTestOutcome.getAnnotatedResult()DataTableRow.getResult()TestOutcome.getResult()The outcome of the acceptance test, based on the outcome of the test steps.TestStep.getResult()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.core.model with parameters of type TestResultModifier and TypeMethodDescriptionintTestOutcome.countNestedStepsWithResult(TestResult expectedResult, TestType testType) intTestOutcome.countResults(TestResult expectedResult) intTestOutcome.countResults(TestResult expectedResult, TestType expectedType) voidDataTable.RowValueAccessor.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) 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) voidDataTableRow.updateResult(TestResult newResult) voidTestOutcome.updateTopLevelStepResultsTo(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.core.model with type arguments of type TestResultModifier and TypeMethodDescriptionstatic TestResultTestResultList.overallResultFrom(List<TestResult> results) Constructors in net.thucydides.core.model with parameters of type TestResultModifierConstructorDescriptionDataTableRow(List<?> values, int lineNumber, TestResult result) protectedTestOutcome(ZonedDateTime startTime, long duration, String title, String description, String name, String id, Class<?> testCase, List<TestStep> testSteps, List<String> issues, List<String> additionalIssues, List<CastMember> actors, Set<TestTag> tags, 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) TestResultComparison(TestResult testResultA, TestResult testResultB) -
Uses of TestResult in net.thucydides.core.model.failures
Methods in net.thucydides.core.model.failures that return TestResult -
Uses of TestResult in net.thucydides.core.model.formatters
Methods in net.thucydides.core.model.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.core.model.results
Methods in net.thucydides.core.model.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.core.model.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.core.model.results with parameters of type TestResultModifierConstructorDescriptionNextStepCompromisedStrategy(TestResult nextStepResult) NextStepFailedStrategy(TestResult nextStepResult) NextStepStatusTakesPriorityStrategy(TestResult nextStepResult) NextStepWasSkippedStrategy(TestResult nextStepResult) -
Uses of TestResult in net.thucydides.core.reports
Methods in net.thucydides.core.reports that return TestResultMethods in net.thucydides.core.reports with parameters of type TestResultModifier and TypeMethodDescriptionprotected intTestOutcomes.countTestsWithResult(TestResult expectedResult, TestType testType) static OutcomeSummaryOutcomeSummary.forOutcome(TestResult outcome) TestOutcomes.havingResult(TestResult result) 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.core.reports with parameters of type TestResultModifierConstructorDescriptionOutcomeSummary(TestResult outcome) protectedTestOutcomes(Collection<? extends TestOutcome> outcomes, double estimatedAverageStepCount, String label, TestTag testTag, TestResult resultFilter, TestOutcomes rootOutcomes, EnvironmentVariables environmentVariables) protectedTestOutcomes(List<? extends TestOutcome> outcomes, double estimatedAverageStepCount, String label, TestResult resultFilter) -
Uses of TestResult in net.thucydides.core.reports.adaptors.specflow
Methods in net.thucydides.core.reports.adaptors.specflow that return TestResult -
Uses of TestResult in net.thucydides.core.reports.html
Methods in net.thucydides.core.reports.html with parameters of type TestResultModifier and TypeMethodDescriptionResultIconFormatter.colorFor(TestResult result) ResultIconFormatter.forResult(TestResult result) ResultIconFormatter.forResult(TestResult result, String htmlReport) -
Uses of TestResult in net.thucydides.core.reports.matchers
Methods in net.thucydides.core.reports.matchers with parameters of type TestResultModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<TestOutcome>TestOutcomeMatchers.withResult(TestResult expectedResult) -
Uses of TestResult in net.thucydides.core.requirements.reports
Methods in net.thucydides.core.requirements.reports that return TestResultModifier and TypeMethodDescriptionScenarioOutcome.getResult()ScenarioSummaryOutcome.getResult()SingleScenarioOutcome.getResult()Methods in net.thucydides.core.requirements.reports that return types with arguments of type TestResultMethods in net.thucydides.core.requirements.reports with parameters of type TestResultModifier and TypeMethodDescriptionintAcceptanceCriteriaRequirmentCounter.countSubrequirementsWithResult(TestResult result) intChildRequirementCounter.countSubrequirementsWithResult(TestResult expectedResult) intRequirementOutcome.OutcomeCounter.withResult(TestResult expectedResult) RequirementsPercentageFormatter.withResult(TestResult expectedResult) RequirementsProportionCounter.withResult(TestResult expectedTestResult) Constructors in net.thucydides.core.requirements.reports with parameters of type TestResultModifierConstructorDescriptionScenarioSummaryOutcome(String name, String type, TestResult result, List<String> reportBadges, String scenarioReport, String description, List<String> steps, List<String> examples, int exampleCount, Boolean isManual, String parentName, String parentReport, Set<TestTag> tags, Map<String, Collection<TestTag>> exampleTags, Rule rule, ZonedDateTime startTime, Long duration) 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) -
Uses of TestResult in net.thucydides.core.steps
Methods in net.thucydides.core.steps that return TestResultConstructors in net.thucydides.core.steps with parameters of type TestResultModifierConstructorDescriptionTestFailureCause(Throwable originalCause, FailureCause rootCause, String testFailureClassname, String testFailureMessage, TestResult annotatedResult)