public final class ThucydidesAgent
extends java.lang.Object
| Constructor and Description |
|---|
ThucydidesAgent(java.util.Optional<java.lang.String> driver,
net.thucydides.core.steps.StepListener... additionalListeners)
Create a new Thucydides agent instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(java.lang.Object testCase)
Initialize a class for use with Thucydides.
|
void |
testFinished()
Tell Thucydides that a test is finished, and to generate the test reports for that test.
|
void |
testStarted(java.lang.String name)
Tell Thucydides to start recording test outcomes and step events for a new test.
|
void |
testSuiteFinished() |
void |
testSuiteStarted(java.lang.String name)
Tells Thucydides that a new test suite (test case, specification,...) has started.
|
public ThucydidesAgent(java.util.Optional<java.lang.String> driver,
net.thucydides.core.steps.StepListener... additionalListeners)
driver - additionalListeners - public void enrich(java.lang.Object testCase)
testCase - a Java object containing test methods.public void testSuiteStarted(java.lang.String name)
name - public void testStarted(java.lang.String name)
name - A human-readable name that will identify this test in the test reports.public void testFinished()
public void testSuiteFinished()