Uses of Class
net.thucydides.core.model.Story
| Package | Description |
|---|---|
| net.thucydides.core.logging | |
| net.thucydides.core.model |
The Thucydides domain model, which represents acceptance test runs.
|
| net.thucydides.core.model.featuretags | |
| net.thucydides.core.steps |
-
Uses of Story in net.thucydides.core.logging
Methods in net.thucydides.core.logging with parameters of type Story Modifier and Type Method Description voidConsoleLoggingListener. testSuiteStarted(Story story) -
Uses of Story in net.thucydides.core.model
Methods in net.thucydides.core.model that return Story Modifier and Type Method Description StoryStory. asFeature()static StoryStory. called(java.lang.String storyName)static StoryStories. findStoryFrom(java.lang.Class<?> testClass)Find the Story defined directly or indirectly in a class.static StoryStory. from(java.lang.Class<?> userStoryClass)Obtain a story instance from a given story class.StoryTestOutcome. getUserStory()StoryPackageBasedLeafRequirements. story(Story userStory)StoryPackageBasedLeafRequirements. testCase(java.lang.Class<?> testCase)static StoryStory. withId(java.lang.String storyId, java.lang.String storyName)Create a story using a full class name as an id.static StoryStory. withId(java.lang.String storyId, java.lang.String storyName, java.lang.String featureClassName, java.lang.String featureName)static StoryStory. withIdAndPath(java.lang.String storyId, java.lang.String storyName, java.lang.String storyPath)static StoryStory. withIdAndPathAndFeature(java.lang.String storyId, java.lang.String storyName, java.lang.String storyPath, java.lang.String featureClassName, java.lang.String featureName)StoryStory. withNarrative(java.lang.String narrative)StoryStory. withPath(java.lang.String path)StoryStory. withType(java.lang.String type)Methods in net.thucydides.core.model with parameters of type Story Modifier and Type Method Description static TestOutcomeTestOutcome. forTestInStory(java.lang.String testName, java.lang.Class<?> testCase, Story story)static TestOutcomeTestOutcome. forTestInStory(java.lang.String testName, Story story)java.lang.StringReportNamer. getNormalizedTestNameFor(Story userStory)static java.util.Optional<TestTag>FeatureTagAsDefined. in(Story story, java.lang.String path)static java.lang.StringStories. reportFor(Story story, ReportType type)voidTestOutcome. setUserStory(Story story)StoryPackageBasedLeafRequirements. story(Story userStory)Constructors in net.thucydides.core.model with parameters of type Story Constructor Description TestOutcome(java.lang.String name, java.lang.Class<?> testCase, Story userStory)TestOutcome(java.lang.String name, java.lang.Class<?> testCase, Story userStory, EnvironmentVariables environmentVariables)A test outcome should relate to a particular test class or user story class.TestOutcome(java.time.ZonedDateTime startTime, long duration, java.lang.String title, java.lang.String description, java.lang.String name, java.lang.String id, java.lang.Class<?> testCase, java.util.List<TestStep> testSteps, java.util.List<java.lang.String> issues, java.util.List<java.lang.String> additionalIssues, java.util.List<CastMember> actors, java.util.Set<TestTag> tags, Story userStory, FailureCause testFailureCause, java.lang.String testFailureClassname, java.lang.String testFailureMessage, java.lang.String testFailureSummary, TestResult annotatedResult, DataTable dataTable, java.util.Optional<java.lang.String> qualifier, java.lang.String driver, boolean manualTest, boolean isManualTestingUpToDate, java.lang.String lastTested, java.util.List<java.lang.String> testEvidence, java.lang.String projectKey, EnvironmentVariables environmentVariables, ExternalLink externalLink, java.lang.String context) -
Uses of Story in net.thucydides.core.model.featuretags
Methods in net.thucydides.core.model.featuretags with parameters of type Story Modifier and Type Method Description java.util.Optional<TestTag>FeatureFileStrategy. getFeatureTag(Story story, java.lang.String featureFilename)java.util.Optional<TestTag>FeatureTagStrategy. getFeatureTag(Story story, java.lang.String path)java.util.Optional<TestTag>NoFeatureStrategy. getFeatureTag(Story story, java.lang.String path)java.util.Optional<TestTag>StoryFileStrategy. getFeatureTag(Story story, java.lang.String featureFilename) -
Uses of Story in net.thucydides.core.steps
Methods in net.thucydides.core.steps with parameters of type Story Modifier and Type Method Description voidStepListener. testSuiteStarted(Story story)Start a test run using a specific story, without a corresponding Java class.