| Modifier and Type | Method and Description |
|---|---|
static PreviousTestOutcome |
PreviousTestOutcome.from(TestOutcome testOutcome) |
Set<? extends Flag> |
HistoricalFlagProvider.getFlagsFor(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
static String |
TestOutcomeName.from(TestOutcome testOutcome) |
| Constructor and Description |
|---|
FailureDetails(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConsoleLoggingListener.testFailed(TestOutcome testOutcome,
Throwable cause) |
void |
ConsoleLoggingListener.testFinished(TestOutcome result) |
void |
ConsoleLoggingListener.testFinished(TestOutcome result,
boolean isInDataDrivenTest) |
| 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.addVersion(String version) |
TestOutcome |
TestOutcome.addVersions(List<String> versions) |
TestOutcome |
TestOutcome.copy() |
TestOutcome |
TestOutcome.forProject(String project) |
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.fromStep(int index) |
TestOutcome |
TestOutcome.inTestRunTimestamped(ZonedDateTime testRunTimestamp) |
TestOutcome |
TestOutcome.recordChildSteps(List<TestStep> steps) |
TestOutcome |
TestOutcome.recordStep(TestStep step)
Add a test step to this acceptance test.
|
TestOutcome |
TestOutcome.recordSteps(List<TestStep> steps) |
TestOutcome |
TestOutcome.setToManual() |
TestOutcome |
TestOutcome.usingIssueTracking(IssueTracking issueTracking) |
TestOutcome |
TestOutcome.withDataRowsfilteredbyTag(TestTag tag) |
TestOutcome |
TestOutcome.withDataRowsfilteredbyTagsFrom(Collection<TestTag> filterTags) |
protected TestOutcome |
TestOutcome.withFlagProvider(FlagProvider flagProvider)
Set the current flag provider; only used for testing purposes.
|
TestOutcome |
TestOutcome.withId(String id) |
TestOutcome |
TestOutcome.withIssues(List<String> issues) |
TestOutcome |
TestOutcome.withMethodName(String methodName) |
TestOutcome |
TestOutcome.withQualifier(String qualifier) |
TestOutcome |
TestOutcome.withResult(TestResult annotatedResult) |
TestOutcome |
TestOutcome.withSteps(List<TestStep> childSteps) |
TestOutcome |
TestOutcome.withTags(Set<TestTag> tags) |
TestOutcome |
TestOutcome.withTestSource(String testSource) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ContextIcon.forOutcome(TestOutcome testOutcome) |
static String |
BadgeBackground.forOutcome(TestOutcome outcome) |
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.
|
static Optional<Boolean> |
TestTagCache.hasMatchingTag(TestOutcome outcome,
TestTag tag) |
static void |
TestTagCache.storeMatchingTagResult(TestOutcome outcome,
TestTag tag,
boolean matchFound) |
| Constructor and Description |
|---|
OptionalElements(TestOutcome testOutcome) |
TestOutcomeSummary(TestOutcome testOutcome) |
TestOutcomeSummary(TestOutcome testOutcome,
Path testReportLink) |
TitleBuilder(TestOutcome testOutcome,
IssueTracking issueTracking,
EnvironmentVariables environmentVariables,
boolean qualified) |
TitleBuilder(TestOutcome testOutcome,
IssueTracking issueTracking,
EnvironmentVariables environmentVariables,
boolean qualified,
boolean showContext) |
| Modifier and Type | Method and Description |
|---|---|
Set<? extends Flag> |
FlagProvider.getFlagsFor(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
static FlagCounts |
FlagCounts.in(List<? extends TestOutcome> testOutcomes) |
| Constructor and Description |
|---|
FlagCounts(List<? extends TestOutcome> testOutcomes) |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
ReleaseManager.enrichOutcomesWithReleaseTags(List<? extends TestOutcome> outcomes) |
| Modifier and Type | Method and Description |
|---|---|
List<TestOutcome> |
ReleaseManager.enrichOutcomesWithReleaseTags(List<? extends TestOutcome> outcomes) |
| Modifier and Type | Method and Description |
|---|---|
TestOutcome |
FlagsAugmenter.augment(TestOutcome testOutcome) |
TestOutcome |
OutcomeAugmenter.augment(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends TestOutcome> |
TestOutcomes.getOutcomes() |
List<? extends TestOutcome> |
TestOutcomes.getTests() |
Iterator<TestOutcome> |
TestOutcomeStream.iterator() |
List<TestOutcome> |
TestOutcomeLoader.loadFrom(File reportDirectory)
Load the test outcomes from a given directory, sorted by Title
|
Optional<TestOutcome> |
AcceptanceTestLoader.loadReportFrom(File reportFile) |
Optional<TestOutcome> |
AcceptanceTestLoader.loadReportFrom(Path reportFile) |
List<TestOutcome> |
AcceptanceTestLoader.loadReportsFrom(File outputDirectory) |
List<TestOutcome> |
AcceptanceTestLoader.loadReportsFrom(Path outputDirectory) |
List<TestOutcome> |
TestOutcomes.testOutcomesWithName(String name) |
Optional<? extends TestOutcome> |
TestOutcomes.testOutcomeWithName(String name) |
| Modifier and Type | Method and Description |
|---|---|
TestOutcome |
FlagsAugmenter.augment(TestOutcome testOutcome) |
TestOutcome |
OutcomeAugmenter.augment(TestOutcome testOutcome) |
File |
AcceptanceTestReporter.generateReportFor(TestOutcome testOutcome)
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(Collection<? extends TestOutcome> outcomes) |
| Constructor and Description |
|---|
TestOutcomes(Collection<? extends TestOutcome> outcomes,
double estimatedAverageStepCount) |
TestOutcomes(Collection<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label) |
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) |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
TestTag tag) |
| 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) |
List<TestOutcome> |
DefaultXUnitAdaptor.testOutcomesIn(File xunitFile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TestOutcomeFilter.matches(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
Optional<TestOutcome> |
JSONConverter.fromJson(InputStream inputStream) |
Optional<TestOutcome> |
JSONConverter.fromJson(Reader in) |
Optional<TestOutcome> |
JSONTestOutcomeReporter.loadReportFrom(File reportFile) |
Optional<TestOutcome> |
JSONTestOutcomeReporter.loadReportFrom(Path reportFile) |
List<TestOutcome> |
JSONTestOutcomeReporter.loadReportsFrom(File outputDirectory) |
List<TestOutcome> |
JSONTestOutcomeReporter.loadReportsFrom(Path outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
File |
JSONTestOutcomeReporter.generateReportFor(TestOutcome testOutcome) |
void |
JSONConverter.toJson(TestOutcome storedTestOutcome,
OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
Optional<TestOutcome> |
GsonJSONConverter.fromJson(InputStream inputStream) |
Optional<TestOutcome> |
GsonJSONConverter.fromJson(Reader jsonReader) |
| Modifier and Type | Method and Description |
|---|---|
void |
GsonJSONConverter.toJson(TestOutcome testOutcome,
OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
JUnitXMLConverter.write(String testCaseName,
List<TestOutcome> outcomes,
OutputStream outputStream) |
| 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 |
LinkGenerator.linkFor(TestOutcome testOutcome) |
String |
BrowserStackLinkGenerator.linkFor(TestOutcome testOutcome) |
String |
RemoteTestingLinkManager.linkFor(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
Optional<TestOutcome> |
XMLTestOutcomeReporter.loadReportFrom(File reportFile)
Deprecated.
|
Optional<TestOutcome> |
XMLTestOutcomeReporter.loadReportFrom(Path reportFile)
Deprecated.
|
List<TestOutcome> |
XMLTestOutcomeReporter.loadReportsFrom(File outputDirectory)
Deprecated.
|
List<TestOutcome> |
XMLTestOutcomeReporter.loadReportsFrom(Path outputDirectory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
File |
XMLTestOutcomeReporter.generateReportFor(TestOutcome testOutcome)
Deprecated.
Generate an XML report for a given test run.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Requirement> |
ParentRequirementsProvided.forOutcome(TestOutcome testOutcome) |
List<Requirement> |
BaseRequirementsService.getAncestorRequirementsFor(TestOutcome testOutcome) |
List<Requirement> |
RequirementsService.getAncestorRequirementsFor(TestOutcome testOutcome) |
Optional<Requirement> |
BaseRequirementsService.getParentRequirementFor(TestOutcome testOutcome) |
Optional<Requirement> |
RequirementsService.getParentRequirementFor(TestOutcome testOutcome) |
Optional<Requirement> |
ParentRequirementProvider.getParentRequirementFor(TestOutcome testOutcome) |
Optional<Requirement> |
PackageRequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
Optional<Requirement> |
PackageAnnotationBasedTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
Optional<Requirement> |
FileSystemRequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
Optional<Requirement> |
RequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) |
List<String> |
BaseRequirementsService.getReleaseVersionsFor(TestOutcome testOutcome) |
List<String> |
RequirementsService.getReleaseVersionsFor(TestOutcome testOutcome) |
Set<TestTag> |
PackageRequirementsTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
PackageAnnotationBasedTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
FileSystemRequirementsTagProvider.getTagsFor(TestOutcome testOutcome) |
Optional<Requirement> |
PackageRequirementsTagProvider.getTestCaseRequirementOf(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
ReportBadges.from(TestOutcome outcome) |
static ScenarioOutcome |
ScenarioOutcomes.outcomeFrom(TestOutcome testOutcome) |
static ScenarioOutcome |
ScenarioOutcomes.outcomeFrom(TestOutcome testOutcome,
RequirementsService requirements) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
ReportBadges.from(List<TestOutcome> outcomes,
String scenarioName) |
| Modifier and Type | Method and Description |
|---|---|
Set<TestTag> |
FeatureStoryTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
AnnotationBasedTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
InjectedTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
ContextTagProvider.getTagsFor(TestOutcome testOutcome) |
Set<TestTag> |
TagProvider.getTagsFor(TestOutcome testOutcome)
Returns the tags associated with a given test outcome.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StepListener.testFailed(TestOutcome testOutcome,
Throwable cause)
The test failed, but not while executing a step.
|
void |
StepListener.testFinished(TestOutcome result)
Called when a test finishes.
|
default void |
StepListener.testFinished(TestOutcome result,
boolean isInDataDrivenTest) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends TestOutcome> |
OutcomeTagFilter.outcomesFilteredByTagIn(List<? extends TestOutcome> testOutcomes) |
| Modifier and Type | Method and Description |
|---|---|
List<TestTag> |
BreadcrumbTagFilter.getRequirementBreadcrumbsFrom(TestOutcome testOutcome) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends TestOutcome> |
OutcomeTagFilter.outcomesFilteredByTagIn(List<? extends TestOutcome> testOutcomes) |
Copyright © 2022. All rights reserved.