|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.bootstrap.ThucydidesAgent
public final class ThucydidesAgent
A utility class that provides services to initialize web testing and reporting-related fields in arbitrary objects. Designed to replace the unfinished Thucydides class.
| Constructor Summary | |
|---|---|
ThucydidesAgent(com.google.common.base.Optional<String> driver,
StepListener... additionalListeners)
Create a new Thucydides agent instance. |
|
| Method Summary | |
|---|---|
void |
enrich(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(String name)
Tell Thucydides to start recording test outcomes and step events for a new test. |
void |
testSuiteFinished()
|
void |
testSuiteStarted(String name)
Tells Thucydides that a new test suite (test case, specification,...) has started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThucydidesAgent(com.google.common.base.Optional<String> driver,
StepListener... additionalListeners)
driver - additionalListeners - | Method Detail |
|---|
public void enrich(Object testCase)
testCase - a Java object containing test methods.public void testSuiteStarted(String name)
name - public void testStarted(String name)
name - A human-readable name that will identify this test in the test reports.public void testFinished()
public void testSuiteFinished()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||