| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
ThucydidesListeners.getResults() |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<TestOutcome> |
PublicThucydidesMatchers.containsResults(TestResult... testResults) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TestOutcomeResultsMatcher.matchesSafely(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
TestOutcome |
TestOutcome.asManualTest() |
static TestOutcome |
TestOutcome.forTest(String methodName,
Class<?> testCase)
Create a new test outcome instance for a given test class or user story.
|
static TestOutcome |
TestOutcome.forTestInStory(String testName,
Class<?> testCase,
Story story) |
static TestOutcome |
TestOutcome.forTestInStory(String testName,
Story story) |
TestOutcome |
TestOutcome.recordStep(TestStep step)
Add a test step to this acceptance test.
|
TestOutcome |
TestOutcome.recordSteps(List<TestStep> steps) |
TestOutcome |
TestOutcome.usingIssueTracking(IssueTracking issueTracking) |
TestOutcome |
TestOutcome.withMethodName(String methodName) |
TestOutcome |
TestOutcome.withQualifier(String qualifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
ReportNamer.getNormalizedTestNameFor(TestOutcome testOutcome)
Return a filesystem-friendly version of the test case name.
|
String |
ReportNamer.getSimpleTestNameFor(TestOutcome testOutcome)
Return a filesystem-friendly version of the test case name.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends TestOutcome> |
TestOutcomes.getOutcomes() |
List<? extends TestOutcome> |
TestOutcomes.getTests() |
List<TestOutcome> |
TestOutcomeLoader.loadFrom(File reportDirectory)
Load the test outcomes from a given directory.
|
com.google.common.base.Optional<TestOutcome> |
AcceptanceTestLoader.loadReportFrom(File reportFile) |
List<TestOutcome> |
AcceptanceTestLoader.loadReportsFrom(File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
File |
AcceptanceTestReporter.generateReportFor(TestOutcome testOutcome,
TestOutcomes allTestOutcomes)
Generate reports for a given acceptance test run.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReportService.generateReportsFor(List<TestOutcome> testOutcomeResults)
A test runner can generate reports via Reporter instances that subscribe
to the test runner.
|
static TestOutcomes |
TestOutcomes.of(List<? extends TestOutcome> outcomes) |
| Constructor and Description |
|---|
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount) |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label) |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
TestOutcomes rootOutcomes) |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
TestOutcomeAdaptor.loadOutcomes() |
List<TestOutcome> |
TestOutcomeAdaptor.loadOutcomesFrom(File source) |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
FilebasedOutcomeAdaptor.loadOutcomes() |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
LettuceXUnitAdaptor.loadOutcomesFrom(File source) |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
SpecflowAdaptor.loadOutcomesFrom(File source)
Loads TestOutcomes from a SpecFlow output file or a directory containing output files.
|
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
DefaultXUnitAdaptor.loadOutcomesFrom(File source) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HtmlReporter.addTimestamp(TestOutcome testOutcome,
Map<String,Object> context) |
File |
HtmlAcceptanceTestReporter.generateReportFor(TestOutcome testOutcome,
TestOutcomes allTestOutcomes)
Generate an HTML report for a given test run.
|
| Modifier and Type | Method and Description |
|---|---|
TestOutcome |
TestOutcomeSerializer.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<TestOutcome> |
JSONTestOutcomeReporter.loadReportFrom(File reportFile) |
List<TestOutcome> |
JSONTestOutcomeReporter.loadReportsFrom(File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
File |
JSONTestOutcomeReporter.generateReportFor(TestOutcome testOutcome,
TestOutcomes allTestOutcomes) |
com.google.gson.JsonElement |
TestOutcomeSerializer.serialize(TestOutcome testOutcome,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<TestOutcome> |
TestOutcomeMatchers.havingTag(TestTag expectedTag) |
static org.hamcrest.Matcher<TestOutcome> |
TestOutcomeMatchers.havingTagName(String tagName) |
static org.hamcrest.Matcher<TestOutcome> |
TestOutcomeMatchers.havingTagType(String tagType) |
static org.hamcrest.Matcher<TestOutcome> |
TestOutcomeMatchers.withResult(TestResult expectedResult) |
| Modifier and Type | Method and Description |
|---|---|
String |
SaucelabsLinkGenerator.linkFor(TestOutcome testOutcome) |
String |
LinkGenerator.linkFor(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<TestOutcome> |
XMLTestOutcomeReporter.loadReportFrom(File reportFile) |
List<TestOutcome> |
XMLTestOutcomeReporter.loadReportsFrom(File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
File |
XMLTestOutcomeReporter.generateReportFor(TestOutcome testOutcome,
TestOutcomes allTestOutcomes)
Generate an XML report for a given test run.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<Requirement> |
FileSystemRequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
com.google.common.base.Optional<Requirement> |
RequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
com.google.common.base.Optional<Requirement> |
AnnotationBasedTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
Set<TestTag> |
FileSystemRequirementsTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
AnnotationBasedTagProvider.getTagsFor(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
static TestRun |
TestRun.from(TestOutcome result) |
| Modifier and Type | Method and Description |
|---|---|
Set<TestTag> |
TagProvider.getTagsFor(TestOutcome testOutcome)
Returns the tags associated with a given test outcome.
|
Set<TestTag> |
AnnotationBasedTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
FeatureStoryTagProvider.getTagsFor(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
protected TestOutcome |
BaseStepListener.getCurrentTestOutcome() |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
StepPublisher.getTestOutcomes()
A step listener should be able to return a set of test results at the end of the test run.
|
List<TestOutcome> |
BaseStepListener.getTestOutcomes() |
| Modifier and Type | Method and Description |
|---|---|
void |
StepListener.testFailed(TestOutcome testOutcome,
Throwable cause)
The test failed, but not while executing a step.
|
void |
ConsoleStepListener.testFailed(TestOutcome testOutcome,
Throwable cause) |
void |
BaseStepListener.testFailed(TestOutcome testOutcome,
Throwable cause) |
void |
ConsoleLoggingListener.testFailed(TestOutcome testOutcome,
Throwable cause) |
void |
StepListener.testFinished(TestOutcome result)
Called when a test finishes.
|
void |
StepEventBus.testFinished(TestOutcome result) |
void |
ConsoleStepListener.testFinished(TestOutcome result) |
void |
BaseStepListener.testFinished(TestOutcome outcome)
A test has finished.
|
void |
ConsoleLoggingListener.testFinished(TestOutcome result) |
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.