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

java.lang.Objectnet.thucydides.core.steps.TestResultTally
public class TestResultTally
Result of a test step or sequence of test steps.
| Method Summary | |
|---|---|
static TestResultTally |
forTestClass(Class<?> classUnderTest)
|
Class<?> |
getClassUnderTest()
|
int |
getFailureCount()
How many test steps failed. |
List<StepFailure> |
getFailures()
What were the failures. |
int |
getIgnoreCount()
How many test steps were ignored. |
int |
getRunCount()
How many test steps were executed, including ignored and failing test steps. |
void |
logExecutedTest()
A test step was executed. |
void |
logFailure(StepFailure failure)
Record a test step failure. |
void |
logIgnoredTest()
A test step was ignored. |
boolean |
wasSuccessful()
The test case is considered successful if there were no failing tests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Class<?> getClassUnderTest()
public void logFailure(StepFailure failure)
public void logIgnoredTest()
public void logExecutedTest()
public int getFailureCount()
public List<StepFailure> getFailures()
public int getIgnoreCount()
public int getRunCount()
public boolean wasSuccessful()
public static TestResultTally forTestClass(Class<?> classUnderTest)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||