Package net.thucydides.core.steps
Class TestResultTally
java.lang.Object
net.thucydides.core.steps.TestResultTally
- All Implemented Interfaces:
Serializable
Result of a test step or sequence of test steps.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestResultTallyforTestClass(Class<?> classUnderTest) Class<?>intHow many test steps failed.What were the failures.intHow many test steps were ignored.intHow many test steps were executed, including ignored and failing test steps.voidA test step was executed.voidlogFailure(StepFailure failure) Record a test step failure.voidA test step was ignored.booleanThe test case is considered successful if there were no failing tests.
-
Method Details
-
getClassUnderTest
-
logFailure
Record a test step failure. Test step failures are recorded and reported at the end of the test case. -
logIgnoredTest
public void logIgnoredTest()A test step was ignored. -
logExecutedTest
public void logExecutedTest()A test step was executed. -
getFailureCount
public int getFailureCount()How many test steps failed. -
getFailures
What were the failures. -
getIgnoreCount
public int getIgnoreCount()How many test steps were ignored. -
getRunCount
public int getRunCount()How many test steps were executed, including ignored and failing test steps. -
wasSuccessful
public boolean wasSuccessful()The test case is considered successful if there were no failing tests. -
forTestClass
-