As of version 4.x the [TestEchelon] class has been combined with TestCase..
Creating an actual test case involves extending the TestCase class. The following abstract methods are unique to the TestCase class and must be implemented by every test case.
String getTestCaseDetailedDescription() - All test cases should provide a detailed, human-readable description of the test stating what it does and what the criteria are to pass. This description will be logged using Coarse Grind's global LogSystem instance
void performTest() - This method defines the actual code to implement the test itself.
Vector<TestResult> Results() - Returns the [TestResult] instances contained in this Test Case's contents.
void addResult(TestResult thisResult, Level requestedLevel) - Adds the supplied test result to the test case's contents and logs it at the requested level.
void addResult(TestResult thisResult) - Adds the supplied test result to the test case's contents and logs it at the standard level.
void checkPrerequisite(String conditionDescription, boolean condition) - Verifies the boolean condition specified inline for the parameter. Properly logs the check with the string parameter. This method assumes that the condition being verified is a prerequisite, meaning that failing the condition will evaluate to inconclusive.
void checkPassCriterion(String conditionDescription, boolean condition) - Verifies the boolean condition specified inline for the parameter. Properly logs the check with the string parameter. This method assumes that the condition being verified is a pass criterion, meaning that failing the condition will cause the test to explicitly fail.
void checkCondition(String conditionDescription, boolean condition) - Verifies the boolean condition specified inline for the parameter. Properly logs the check with the string parameter. Failing the condition will cause the test to explicitly fail.
Wiki: TestEchelon
Wiki: TestResult
Wiki: rockabilly.coarsegrind.core