public class TestResultTally
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static TestResultTally |
forTestClass(java.lang.Class<?> classUnderTest) |
java.lang.Class<?> |
getClassUnderTest() |
int |
getFailureCount()
How many test steps failed.
|
java.util.List<net.thucydides.core.steps.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(net.thucydides.core.steps.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.
|
public java.lang.Class<?> getClassUnderTest()
public void logFailure(net.thucydides.core.steps.StepFailure failure)
public void logIgnoredTest()
public void logExecutedTest()
public int getFailureCount()
public java.util.List<net.thucydides.core.steps.StepFailure> getFailures()
public int getIgnoreCount()
public int getRunCount()
public boolean wasSuccessful()
public static TestResultTally forTestClass(java.lang.Class<?> classUnderTest)