Uses of Class
net.thucydides.model.domain.TestOutcome
Packages that use TestOutcome
Package
Description
The Thucydides domain model, which represents acceptance test runs.
Thucydides generates reports in HTML and XML by default.
-
Uses of TestOutcome in net.serenitybdd.model.history
Methods in net.serenitybdd.model.history with parameters of type TestOutcomeModifier and TypeMethodDescriptionstatic PreviousTestOutcomePreviousTestOutcome.from(TestOutcome testOutcome) HistoricalFlagProvider.getFlagsFor(TestOutcome testOutcome) -
Uses of TestOutcome in net.serenitybdd.model.model
Methods in net.serenitybdd.model.model with parameters of type TestOutcomeConstructors in net.serenitybdd.model.model with parameters of type TestOutcome -
Uses of TestOutcome in net.thucydides.model.domain
Methods in net.thucydides.model.domain that return TestOutcomeModifier and TypeMethodDescriptionTestOutcome.addVersion(String version) TestOutcome.addVersions(List<String> versions) TestOutcome.copy()TestOutcome.forProject(String project) static TestOutcomeCreate a new test outcome instance for a given test class or user story.static TestOutcomeTestOutcome.forTestInStory(String testName, Class<?> testCase, Story story) static TestOutcomeTestOutcome.forTestInStory(String testName, Story story) TestOutcome.fromStep(int index) TestOutcome.inTestRunTimestamped(ZonedDateTime testRunTimestamp) TestOutcome.recordChildSteps(List<TestStep> steps) TestOutcome.recordStep(TestStep step) Add a test step to this acceptance test.TestOutcome.recordSteps(List<TestStep> steps) TestOutcome.removeTopLevelStepsNotHavingResult(TestResult result) TestOutcome.removeTopLevelStepsNotMatching(Predicate<TestStep> condition) TestOutcome.setToManual()TestOutcome.usingIssueTracking(IssueTracking issueTracking) TestOutcome.withDataRowsfilteredbyTag(TestTag tag) TestOutcome.withDataRowsfilteredbyTagsFrom(Collection<TestTag> filterTags) TestOutcome.withExamplesHavingResult(TestResult result) TestOutcome.withExamplesMatching(Predicate<TestStep> condition) protected TestOutcomeTestOutcome.withFlagProvider(FlagProvider flagProvider) Set the current flag provider; only used for testing purposes.TestOutcome.withIssues(List<String> issues) TestOutcome.withQualifier(String qualifier) TestOutcome.withResult(TestResult annotatedResult) TestOutcome.withScenarioId(String scenarioId) TestOutcome.withStartTime(ZonedDateTime startTime) TestOutcome.withTestMethodName(String methodName) TestOutcome.withTestSource(String testSource) Methods in net.thucydides.model.domain that return types with arguments of type TestOutcomeMethods in net.thucydides.model.domain with parameters of type TestOutcomeModifier and TypeMethodDescriptionstatic StringBadgeBackground.forOutcome(TestOutcome outcome) static StringContextIcon.forOutcome(TestOutcome testOutcome) ReportNamer.getNormalizedReportNameFor(TestOutcome testOutcome) Return a filesystem-friendly version of the test case name.ReportNamer.getSimpleTestNameFor(TestOutcome testOutcome) Return a filesystem-friendly version of the test case name.TestTagCache.hasMatchingTag(TestOutcome outcome, TestTag tag) static StringContextIcon.labelForOutcome(TestOutcome outcome) static voidTestTagCache.storeMatchingTagResult(TestOutcome outcome, TestTag tag, boolean matchFound) Constructors in net.thucydides.model.domain with parameters of type TestOutcomeModifierConstructorDescriptionOptionalElements(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) -
Uses of TestOutcome in net.thucydides.model.domain.flags
Methods in net.thucydides.model.domain.flags with parameters of type TestOutcomeMethod parameters in net.thucydides.model.domain.flags with type arguments of type TestOutcomeModifier and TypeMethodDescriptionstatic FlagCountsFlagCounts.in(List<? extends TestOutcome> testOutcomes) Constructor parameters in net.thucydides.model.domain.flags with type arguments of type TestOutcome -
Uses of TestOutcome in net.thucydides.model.logging
Methods in net.thucydides.model.logging with parameters of type TestOutcomeModifier and TypeMethodDescriptionvoidConsoleLoggingListener.testFinished(TestOutcome result) voidConsoleLoggingListener.testFinished(TestOutcome result, boolean isInDataDrivenTest) voidConsoleLoggingListener.testFinished(TestOutcome result, boolean isInDataDrivenTest, ZonedDateTime finishTime) -
Uses of TestOutcome in net.thucydides.model.matchers
Methods in net.thucydides.model.matchers that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<TestOutcome> PublicThucydidesMatchers.containsResults(TestResult... testResults) Methods in net.thucydides.model.matchers with parameters of type TestOutcomeModifier and TypeMethodDescriptionbooleanTestOutcomeResultsMatcher.matchesSafely(TestOutcome testOutcome) -
Uses of TestOutcome in net.thucydides.model.releases
Methods in net.thucydides.model.releases that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionReleaseManager.enrichOutcomesWithReleaseTags(List<? extends TestOutcome> outcomes) Method parameters in net.thucydides.model.releases with type arguments of type TestOutcomeModifier and TypeMethodDescriptionReleaseManager.enrichOutcomesWithReleaseTags(List<? extends TestOutcome> outcomes) -
Uses of TestOutcome in net.thucydides.model.reports
Methods in net.thucydides.model.reports that return TestOutcomeModifier and TypeMethodDescriptionFlagsAugmenter.augment(TestOutcome testOutcome) OutcomeAugmenter.augment(TestOutcome testOutcome) Methods in net.thucydides.model.reports that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionList<? extends TestOutcome> TestOutcomes.getOutcomes()List<? extends TestOutcome> TestOutcomes.getTestCases()List<? extends TestOutcome> TestOutcomes.getTests()TestOutcomeStream.iterator()Load the test outcomes from a given directory, sorted by TitleAcceptanceTestLoader.loadReportFrom(File reportFile) AcceptanceTestLoader.loadReportFrom(Path reportFile) AcceptanceTestLoader.loadReportsFrom(File outputDirectory) AcceptanceTestLoader.loadReportsFrom(Path outputDirectory) TestOutcomes.testOutcomesWithName(String name) Optional<? extends TestOutcome> TestOutcomes.testOutcomeWithName(String name) Methods in net.thucydides.model.reports with parameters of type TestOutcomeModifier and TypeMethodDescriptionFlagsAugmenter.augment(TestOutcome testOutcome) OutcomeAugmenter.augment(TestOutcome testOutcome) AcceptanceTestReporter.generateReportFor(TestOutcome testOutcome) Generate reports for a given acceptance test run.Method parameters in net.thucydides.model.reports with type arguments of type TestOutcomeModifier and TypeMethodDescriptionvoidReportService.generateReportsFor(List<TestOutcome> testOutcomeResults) A test runner can generate reports via Reporter instances that subscribe to the test runner.static TestOutcomesTestOutcomes.of(Collection<? extends TestOutcome> outcomes) Constructor parameters in net.thucydides.model.reports with type arguments of type TestOutcomeModifierConstructorDescriptionprotectedTestOutcomes(Collection<? extends TestOutcome> outcomes) protectedTestOutcomes(Collection<? extends TestOutcome> outcomes, String label) protectedTestOutcomes(Collection<? extends TestOutcome> outcomes, String label, TestTag testTag, TestResult resultFilter, TestOutcomes rootOutcomes, EnvironmentVariables environmentVariables) protectedTestOutcomes(List<? extends TestOutcome> outcomes, String label, TestResult resultFilter) protectedTestOutcomes(List<? extends TestOutcome> outcomes, String label, TestTag tag) -
Uses of TestOutcome in net.thucydides.model.reports.adaptors
Methods in net.thucydides.model.reports.adaptors that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionTestOutcomeAdaptor.loadOutcomes()TestOutcomeAdaptor.loadOutcomesFrom(File source) -
Uses of TestOutcome in net.thucydides.model.reports.adaptors.common
Methods in net.thucydides.model.reports.adaptors.common that return types with arguments of type TestOutcome -
Uses of TestOutcome in net.thucydides.model.reports.adaptors.lettuce
Methods in net.thucydides.model.reports.adaptors.lettuce that return types with arguments of type TestOutcome -
Uses of TestOutcome in net.thucydides.model.reports.adaptors.specflow
Methods in net.thucydides.model.reports.adaptors.specflow that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionSpecflowAdaptor.loadOutcomesFrom(File source) Loads TestOutcomes from a SpecFlow output file or a directory containing output files. -
Uses of TestOutcome in net.thucydides.model.reports.adaptors.xunit
Methods in net.thucydides.model.reports.adaptors.xunit that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionDefaultXUnitAdaptor.loadOutcomesFrom(File source) DefaultXUnitAdaptor.testOutcomesIn(File xunitFile) -
Uses of TestOutcome in net.thucydides.model.reports.html
Methods in net.thucydides.model.reports.html with parameters of type TestOutcomeModifier and TypeMethodDescriptionContextIconFormatter.forOutcome(TestOutcome outcome) booleanTestOutcomeFilter.matches(TestOutcome testOutcome) -
Uses of TestOutcome in net.thucydides.model.reports.json
Methods in net.thucydides.model.reports.json that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionJSONConverter.fromJson(InputStream inputStream) JSONTestOutcomeReporter.loadReportFrom(File reportFile) JSONTestOutcomeReporter.loadReportFrom(Path reportFile) JSONTestOutcomeReporter.loadReportsFrom(File outputDirectory) JSONTestOutcomeReporter.loadReportsFrom(Path outputDirectory) Methods in net.thucydides.model.reports.json with parameters of type TestOutcomeModifier and TypeMethodDescriptionJSONTestOutcomeReporter.generateReportFor(TestOutcome testOutcome) voidJSONConverter.toJson(TestOutcome storedTestOutcome, OutputStream outputStream) -
Uses of TestOutcome in net.thucydides.model.reports.json.gson
Methods in net.thucydides.model.reports.json.gson that return types with arguments of type TestOutcomeMethods in net.thucydides.model.reports.json.gson with parameters of type TestOutcomeModifier and TypeMethodDescriptionvoidGsonJSONConverter.toJson(TestOutcome testOutcome, OutputStream outputStream) -
Uses of TestOutcome in net.thucydides.model.reports.junit
Method parameters in net.thucydides.model.reports.junit with type arguments of type TestOutcomeModifier and TypeMethodDescriptionvoidJUnitXMLConverter.write(String testCaseName, List<TestOutcome> outcomes, OutputStream outputStream) -
Uses of TestOutcome in net.thucydides.model.reports.matchers
Methods in net.thucydides.model.reports.matchers that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<TestOutcome> 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) -
Uses of TestOutcome in net.thucydides.model.reports.remoteTesting
Methods in net.thucydides.model.reports.remoteTesting with parameters of type TestOutcomeModifier and TypeMethodDescriptionBrowserStackLinkGenerator.linkFor(TestOutcome testOutcome) LinkGenerator.linkFor(TestOutcome testOutcome) RemoteTestingLinkManager.linkFor(TestOutcome testOutcome) -
Uses of TestOutcome in net.thucydides.model.requirements
Methods in net.thucydides.model.requirements with parameters of type TestOutcomeModifier and TypeMethodDescriptionvoidAggregateRequirementsService.addRequirementTagsTo(TestOutcome outcome) voidFileSystemRequirementsService.addRequirementTagsTo(TestOutcome outcome) voidMultiSourceRequirementsService.addRequirementTagsTo(TestOutcome outcome) voidRequirementsService.addRequirementTagsTo(TestOutcome outcome) default voidRequirementsTagProvider.addRequirementTagsTo(TestOutcome outcome) If the requirements provider is able to provide a list of requirement tags for a given test outcome, it should do so.voidTestOutcomeRequirementsTagProvider.addRequirementTagsTo(TestOutcome outcome) Adds requirement tags to the given TestOutcome.ParentRequirementsProvided.forOutcome(TestOutcome testOutcome) BaseRequirementsService.getAncestorRequirementsFor(TestOutcome testOutcome) RequirementsService.getAncestorRequirementsFor(TestOutcome testOutcome) BaseRequirementsService.getParentRequirementFor(TestOutcome testOutcome) ParentRequirementProvider.getParentRequirementFor(TestOutcome testOutcome) RequirementsService.getParentRequirementFor(TestOutcome testOutcome) FileSystemRequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) PackageAnnotationBasedTagProvider.getParentRequirementOf(TestOutcome testOutcome) PackageRequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) Deprecated.RequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) TestOutcomeRequirementsTagProvider.getParentRequirementOf(TestOutcome testOutcome) Fetches the parent requirement of a given TestOutcome.BaseRequirementsService.getReleaseVersionsFor(TestOutcome testOutcome) RequirementsService.getReleaseVersionsFor(TestOutcome testOutcome) FileSystemRequirementsTagProvider.getTagsFor(TestOutcome testOutcome) PackageAnnotationBasedTagProvider.getTagsFor(TestOutcome testOutcome) PackageRequirementsTagProvider.getTagsFor(TestOutcome testOutcome) Deprecated.TestOutcomeRequirementsTagProvider.getTagsFor(TestOutcome testOutcome) PackageRequirementsTagProvider.getTestCaseRequirementOf(TestOutcome testOutcome) Deprecated. -
Uses of TestOutcome in net.thucydides.model.requirements.reports
Methods in net.thucydides.model.requirements.reports with parameters of type TestOutcomeModifier and TypeMethodDescriptionstatic ScenarioOutcomeScenarioOutcomes.dataDrivenOutcomeFrom(String userStoryName, String userStoryReportName, TestOutcome testOutcome, RequirementsService requirements) static List<ExampleOutcome> ExampleOutcomes.from(TestOutcome outcome) ReportBadges.from(TestOutcome outcome) static ScenarioOutcomeScenarioOutcomes.outcomeFrom(TestOutcome testOutcome) static ScenarioOutcomeScenarioOutcomes.outcomeFrom(TestOutcome testOutcome, RequirementsService requirements) static ScenarioOutcomeScenarioOutcomes.singleScenarioOutlineFrom(String userStoryName, String userStoryReportName, TestOutcome testOutcome, RequirementsService requirements) Method parameters in net.thucydides.model.requirements.reports with type arguments of type TestOutcome -
Uses of TestOutcome in net.thucydides.model.statistics.service
Methods in net.thucydides.model.statistics.service with parameters of type TestOutcomeModifier and TypeMethodDescriptionAnnotationBasedTagProvider.getTagsFor(TestOutcome testOutcome) ContextTagProvider.getTagsFor(TestOutcome testOutcome) FeatureStoryTagProvider.getTagsFor(TestOutcome testOutcome) InjectedTagProvider.getTagsFor(TestOutcome testOutcome) TagProvider.getTagsFor(TestOutcome testOutcome) Returns the tags associated with a given test outcome. -
Uses of TestOutcome in net.thucydides.model.steps
Methods in net.thucydides.model.steps with parameters of type TestOutcomeModifier and TypeMethodDescriptionvoidStepListener.testFailed(TestOutcome testOutcome, Throwable cause) The test failed, but not while executing a step.voidStepListenerAdapter.testFailed(TestOutcome testOutcome, Throwable cause) voidStepListener.testFinished(TestOutcome result) Called when a test finishes.default voidStepListener.testFinished(TestOutcome result, boolean isInDataDrivenTest) voidStepListener.testFinished(TestOutcome result, boolean isInDataDrivenTest, ZonedDateTime finishTime) voidStepListenerAdapter.testFinished(TestOutcome result) voidStepListenerAdapter.testFinished(TestOutcome result, boolean isInDataDrivenTest, ZonedDateTime finishTime) -
Uses of TestOutcome in net.thucydides.model.tags
Methods in net.thucydides.model.tags that return types with arguments of type TestOutcomeModifier and TypeMethodDescriptionList<? extends TestOutcome> OutcomeTagFilter.outcomesFilteredByTagIn(List<? extends TestOutcome> testOutcomes) Methods in net.thucydides.model.tags with parameters of type TestOutcomeModifier and TypeMethodDescriptionBreadcrumbTagFilter.getRequirementBreadcrumbsFrom(TestOutcome testOutcome) Method parameters in net.thucydides.model.tags with type arguments of type TestOutcomeModifier and TypeMethodDescriptionList<? extends TestOutcome> OutcomeTagFilter.outcomesFilteredByTagIn(List<? extends TestOutcome> testOutcomes)