| Package | Description |
|---|---|
| net.thucydides.core.model |
The Thucydides domain model, which represents acceptance test runs.
|
| net.thucydides.core.steps |
Base class to be used when writing a library of resuable test steps.
|
| Modifier and Type | Method and Description |
|---|---|
Story |
Story.asFeature() |
static Story |
Story.called(String storyName) |
static Story |
Stories.findStoryFrom(Class<?> testClass)
Find the Story defined directly or indirectly in a class.
|
static Story |
Story.from(Class<?> userStoryClass)
Obtain a story instance from a given story class.
|
Story |
TestOutcome.getUserStory() |
static Story |
Story.withId(String storyId,
String storyName)
Create a story using a full class name as an id.
|
static Story |
Story.withId(String storyId,
String storyName,
String featureClassName,
String featureName) |
static Story |
Story.withIdAndPath(String storyId,
String storyName,
String storyPath) |
static Story |
Story.withIdAndPathAndFeature(String storyId,
String storyName,
String storyPath,
String featureClassName,
String featureName) |
Story |
Story.withNarrative(String narrative) |
Story |
Story.withPath(String storyPath) |
| Modifier and Type | Method and Description |
|---|---|
static TestOutcome |
TestOutcome.forTestInStory(String testName,
Class<?> testCase,
Story story) |
static TestOutcome |
TestOutcome.forTestInStory(String testName,
Story story) |
String |
ReportNamer.getNormalizedTestNameFor(Story userStory) |
static String |
Stories.reportFor(Story story,
ReportType type) |
void |
TestOutcome.setUserStory(Story story) |
| Constructor and Description |
|---|
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) |
TestOutcome(String methodName,
Class<?> testCase,
Story userStory)
A test outcome should relate to a particular test class or user story class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StepEventBus.testStarted(String newTestName,
Story story) |
void |
StepListener.testSuiteStarted(Story story)
Start a test run using a specific story, without a corresponding Java class.
|
void |
StepEventBus.testSuiteStarted(Story story) |
void |
ConsoleLoggingListener.testSuiteStarted(Story story) |
void |
BaseStepListener.testSuiteStarted(Story story) |
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.