| Package | Description |
|---|---|
| net.serenitybdd.core.history | |
| net.thucydides.core.logging | |
| net.thucydides.core.matchers | |
| net.thucydides.core.model |
The Thucydides domain model, which represents acceptance test runs.
|
| net.thucydides.core.model.failures | |
| net.thucydides.core.model.formatters | |
| net.thucydides.core.model.results | |
| net.thucydides.core.reports |
Thucydides generates reports in HTML and XML by default.
|
| net.thucydides.core.reports.adaptors.specflow | |
| net.thucydides.core.reports.html | |
| net.thucydides.core.reports.matchers | |
| net.thucydides.core.requirements.reports | |
| net.thucydides.core.steps |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
PreviousTestOutcome.getResult() |
| Constructor and Description |
|---|
PreviousTestOutcome(String id,
String name,
TestResult result,
String testFailureSummary) |
| Modifier and Type | Method and Description |
|---|---|
static ConsoleEvent |
ConsoleEvent.forTestResult(TestResult result) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<TestOutcome> |
PublicThucydidesMatchers.containsResults(TestResult... testResults) |
| Constructor and Description |
|---|
TestOutcomeResultsMatcher(TestResult... expectedTestResults) |
| Modifier and Type | Method and Description |
|---|---|
static TestResult |
HeuristicTestResult.from(String testFailureClassname) |
TestResult |
TestOutcome.getAnnotatedResult() |
TestResult |
TestStep.getOverallResult() |
TestResult |
DataTableRow.getResult() |
TestResult |
TestOutcome.getResult()
The outcome of the acceptance test, based on the outcome of the test
steps.
|
TestResult |
TestStep.getResult() |
TestResult |
TestOutcomeSummary.getTestResult() |
static TestResult |
TestResultComparison.overallResultFor(TestResult testResultA,
TestResult testResultB) |
static TestResult |
TestResultList.overallResultFrom(List<TestResult> results) |
static TestResult |
TestResult.valueOf(String name)
Returns 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.
|
| Modifier and Type | Method and Description |
|---|---|
Set<TestResult> |
TestResult.expanded() |
List<TestResult> |
TestOutcome.getAllResults() |
Stream<TestResult> |
TestOutcome.getAllResultsStream() |
Set<TestResult> |
TestOutcome.getDistinctResults() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TestOutcome.containsAtLeastOneOutcomeWithResult(TestResult expectedResult) |
int |
TestOutcome.countNestedStepsWithResult(TestResult expectedResult,
TestType testType) |
int |
TestOutcome.countResults(TestResult expectedResult) |
int |
TestOutcome.countResults(TestResult expectedResult,
TestType expectedType) |
boolean |
TestOutcome.hasResult(TestResult result) |
void |
DataTable.RowValueAccessor.hasResult(TestResult result) |
boolean |
TestResult.isAtLeast(TestResult minimumTestResult) |
boolean |
TestResult.isLessSevereThan(TestResult otherResult) |
boolean |
TestResult.isMoreSevereThan(TestResult otherResult) |
static TestResult |
TestResultComparison.overallResultFor(TestResult testResultA,
TestResult testResultB) |
void |
TestOutcome.overrideAnnotatedResult(TestResult annotatedResult) |
void |
TestOutcome.overrideResult(TestResult result) |
boolean |
TestResult.overrides(TestResult result) |
int |
OutcomeCounter.percentageWithResult(TestResult expectedResult) |
TestOutcome |
TestOutcome.removeTopLevelStepsNotHavingResult(TestResult result) |
void |
TestOutcome.setAllStepsTo(TestResult result) |
void |
TestOutcome.setAnnotatedResult(TestResult annotatedResult) |
void |
DataTableRow.setResult(TestResult result) |
void |
TestOutcome.setResult(TestResult annotatedResult) |
void |
TestStep.setResult(TestResult result)
Each test step has a result, indicating the outcome of this step.
|
void |
TestOutcome.updateCurrentRowResult(TestResult result) |
void |
TestOutcome.updateDataTableResult(int row,
TestResult result) |
void |
DataTableRow.updateResult(TestResult newResult) |
void |
DataTable.updateRowResult(int row,
TestResult result) |
void |
TestOutcome.updateTopLevelStepResultsTo(TestResult result) |
TestOutcome |
TestOutcome.withExamplesHavingResult(TestResult result) |
int |
ScenarioOutcomeCounter.withResult(TestResult expectedResult) |
TestOutcome |
TestOutcome.withResult(TestResult annotatedResult) |
TestStep |
TestStep.withResult(TestResult annotatedResult) |
TestStep |
TestStep.TestStepBuilder.withResult(TestResult result) |
int |
OutcomeCounter.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
static TestResult |
TestResultList.overallResultFrom(List<TestResult> results) |
| Constructor and Description |
|---|
DataTableRow(List<?> values,
long lineNumber,
TestResult result) |
TestOutcome(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) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
FailureAnalysis.resultFor(Class testFailureCause) |
TestResult |
FailureAnalysis.resultFor(StepFailure stepFailure) |
TestResult |
FailureAnalysis.resultFor(Throwable testFailureCause) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract double |
TestCoverageFormatter.FormattedCoverage.percentageWithResult(TestResult expectedResult) |
protected double |
TestCoverageFormatter.FormattedPercentageCoverage.percentageWithResult(TestResult expectedResult) |
protected double |
TestCoverageFormatter.FormattedPercentageStepCoverage.percentageWithResult(TestResult expectedResult) |
String |
TestCoverageFormatter.FormattedCoverage.withResult(TestResult expectedResult) |
String |
TestCoverageFormatter.FormattedCoverage.withResult(TestResult expectedResult,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
NextStepWasSkippedStrategy.with(TestResult previousResult) |
TestResult |
StepResultMergeStragegy.with(TestResult result) |
TestResult |
NextStepStatusTakesPriorityStrategy.with(TestResult previousResult) |
TestResult |
NextStepCompromisedStrategy.with(TestResult previousResult) |
TestResult |
NextStepFailedStrategy.with(TestResult previousResult) |
| Modifier and Type | Method and Description |
|---|---|
static StepResultMergeStragegy |
MergeStepResultStrategy.whenNextStepResultIs(TestResult nextStepResult) |
TestResult |
NextStepWasSkippedStrategy.with(TestResult previousResult) |
TestResult |
StepResultMergeStragegy.with(TestResult result) |
TestResult |
NextStepStatusTakesPriorityStrategy.with(TestResult previousResult) |
TestResult |
NextStepCompromisedStrategy.with(TestResult previousResult) |
TestResult |
NextStepFailedStrategy.with(TestResult previousResult) |
| Constructor and Description |
|---|
NextStepCompromisedStrategy(TestResult nextStepResult) |
NextStepFailedStrategy(TestResult nextStepResult) |
NextStepStatusTakesPriorityStrategy(TestResult nextStepResult) |
NextStepWasSkippedStrategy(TestResult nextStepResult) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
ResultChecker.checkTestResults() |
TestResult |
ResultChecker.checkTestResults(TestOutcomes outcomes) |
TestResult |
TestOutcomes.getResult() |
| Modifier and Type | Method and Description |
|---|---|
List<TestResult> |
TestOutcomes.getAllResults() |
Set<TestResult> |
TestOutcomes.getDistinctResults() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
TestOutcomes.countTestsWithResult(TestResult expectedResult,
TestType testType) |
long |
TestOutcomes.countWithResult(TestType expectedType,
TestResult expectedResult) |
static OutcomeSummary |
OutcomeSummary.forOutcome(TestResult outcome) |
TestOutcomes |
TestOutcomes.havingResult(TestResult expectedResult) |
Integer |
TestOutcomes.scenarioCountWithResult(TestResult result) |
TestOutcomes |
TestOutcomes.withResult(TestResult result) |
Double |
TestOutcomes.OutcomeProportionCounter.withResult(TestResult testResult) |
Double |
TestOutcomes.OutcomeProportionStepCounter.withResult(TestResult expectedResult) |
TestOutcomes |
TestOutcomes.withResultFilter(TestResult testResult) |
| Constructor and Description |
|---|
OutcomeSummary(TestResult outcome) |
TestOutcomes(Collection<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
TestTag testTag,
TestResult resultFilter,
TestOutcomes rootOutcomes,
EnvironmentVariables environmentVariables) |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
TestResult resultFilter) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
ScenarioStep.getResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
ResultIconFormatter.colorFor(TestResult result) |
String |
ResultIconFormatter.forResult(TestResult result) |
String |
ResultIconFormatter.forResult(TestResult result,
String htmlReport) |
long |
ScenarioResultCounts.getOverallTestCount(TestResult expectedResult) |
Integer |
ScenarioResultCounts.getOverallTestPercentage(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<TestOutcome> |
TestOutcomeMatchers.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
SingleScenarioOutcome.getResult() |
TestResult |
ScenarioOutcome.getResult() |
TestResult |
ScenarioSummaryOutcome.getResult() |
TestResult |
ExampleOutcome.getResult() |
| Modifier and Type | Method and Description |
|---|---|
Optional<TestResult> |
RequirementsOutcomes.getTestResultForTestNamed(String name) |
| Modifier and Type | Method and Description |
|---|---|
long |
AcceptanceCriteriaRequirmentCounter.countSubrequirementsWithResult(TestResult result) |
long |
ChildRequirementCounter.countSubrequirementsWithResult(TestResult expectedResult) |
Double |
RequirementsProportionCounter.withResult(TestResult expectedTestResult) |
int |
RequirementOutcome.OutcomeCounter.withResult(TestResult expectedResult) |
String |
RequirementsPercentageFormatter.withResult(TestResult expectedResult) |
| Constructor and Description |
|---|
ExampleOutcome(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) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
TestFailureCause.getAnnotatedResult() |
| Constructor and Description |
|---|
TestFailureCause(Throwable originalCause,
FailureCause rootCause,
String testFailureClassname,
String testFailureMessage,
TestResult annotatedResult) |
Copyright © 2023. All rights reserved.