| Package | Description |
|---|---|
| net.thucydides.core.matchers | |
| net.thucydides.core.model |
The Thucydides domain model, which represents acceptance test runs.
|
| net.thucydides.core.model.formatters | |
| net.thucydides.core.reports |
Thucydides generates reports in HTML and XML by default.
|
| net.thucydides.core.reports.adaptors.specflow | |
| net.thucydides.core.reports.matchers | |
| net.thucydides.core.requirements.reports | |
| net.thucydides.core.statistics.model | |
| net.thucydides.core.steps |
Base class to be used when writing a library of resuable test steps.
|
| 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 |
|---|---|
TestResult |
TestOutcome.getAnnotatedResult() |
TestResult |
TestResultList.getOverallResult() |
TestResult |
TestStep.getResult() |
TestResult |
TestOutcome.getResult()
The outcome of the acceptance test, based on the outcome of the test
steps.
|
TestResult |
DataTableRow.getResult() |
TestResult |
FailureAnalysis.resultFor(Class testFailureCause) |
TestResult |
FailureAnalysis.resultFor(StepFailure stepFailure) |
TestResult |
FailureAnalysis.resultFor(Throwable testFailureCause) |
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 |
|---|---|
int |
TestOutcome.countNestedStepsWithResult(TestResult expectedResult,
TestType testType) |
int |
TestOutcome.countResults(TestResult expectedResult) |
int |
TestOutcome.countResults(TestResult expectedResult,
TestType expectedType) |
void |
DataTable.RowValueAccessor.hasResult(TestResult result) |
static TestResultList |
TestResultList.of(TestResult... testResults) |
void |
TestOutcome.setAllStepsTo(List<TestStep> steps,
TestResult result) |
void |
TestOutcome.setAllStepsTo(TestResult result) |
void |
TestOutcome.setAnnotatedResult(TestResult annotatedResult) |
void |
TestStep.setResult(TestResult result)
Each test step has a result, indicating the outcome of this step.
|
void |
DataTableRow.setResult(TestResult result) |
void |
TestOutcome.updateCurrentRowResult(TestResult result) |
void |
DataTableRow.updateResult(TestResult newResult) |
TestStep |
TestStep.TestStepBuilder.withResult(TestResult result) |
int |
OutcomeCounter.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
static TestResultList |
TestResultList.of(List<TestResult> testResults) |
| Constructor and Description |
|---|
DataTableRow(List<? extends Object> values,
TestResult result) |
TestOutcome(org.joda.time.DateTime startTime,
long duration,
String title,
String description,
String methodName,
Class<?> testCase,
List<TestStep> testSteps,
List<String> issues,
List<String> additionalIssues,
Set<TestTag> tags,
Story userStory,
FailureCause testFailureCause,
String testFailureClassname,
String testFailureMessage,
TestResult annotatedResult,
DataTable dataTable,
com.google.common.base.Optional<String> qualifier,
boolean manualTest) |
| Constructor and Description |
|---|
TestResultList(List<TestResult> testResults) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
TestOutcomes.getResult() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
TestOutcomes.countTestsWithResult(TestResult expectedResult,
TestType testType) |
TestOutcomes |
TestOutcomes.havingResult(TestResult result) |
Double |
TestOutcomes.OutcomeProportionCounter.withResult(TestResult testResult) |
Double |
TestOutcomes.OutcomeProportionStepCounter.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
ScenarioStep.getResult() |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<TestOutcome> |
TestOutcomeMatchers.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
Double |
RequirementsProportionCounter.withResult(TestResult expectedTestResult) |
String |
RequirementsPercentageFormatter.withResult(TestResult expectedResult) |
int |
RequirementOutcome.OutcomeCounter.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
TestRun.getResult() |
| Modifier and Type | Method and Description |
|---|---|
int |
TestStatistics.ResultCountBuilder.whereTheOutcomeWas(TestResult testResult) |
| Constructor and Description |
|---|
TestRun(String title,
String projectKey,
TestResult result,
long duration,
Date executionDate) |
| Constructor and Description |
|---|
TestStatistics(Long totalTestRuns,
Long passingTestRuns,
Long failingTestRuns,
List<TestResult> testResults,
List<TestRunTag> tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
StepEventBus.setAllStepsTo(TestResult result)
Set all steps in the current test outcome to a given result.
|
void |
BaseStepListener.setAllStepsTo(TestResult result) |
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.