|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jwalk.out.Report org.jwalk.out.ProtocolReport org.jwalk.out.StatisticalReport org.jwalk.out.SummaryReport
public class SummaryReport
SummaryReport is a summary of test statistics once testing is finished. A SummaryReport is dispatched at the very end of a test series. It aggregates the statistics of several CycleReports. Depending on the chosen test Modality from {INSPECT, EXPLORE, VALIDATE}, the SummaryReport will report the test class, the test strategy and modality and the depth to which testing was carried out; then may also report on numbers of test sequences which were executed normally, or which terminated with an exception, or which were pruned from the test set because they were deemed redundant; then may also report on numbers of test sequences which were passed or failed, either manually or automatically. The API of SummaryReport also allows client programs to count the number of test sequences which executed, which terminated normally, which terminated with an exception, which were manually confirmed or rejected and which were automatically passed or failed, and which were pruned from the overall test set. Pruned test sequences are those which would return a result equivalent to a shorter test sequence that has already been tested.
Field Summary |
---|
Fields inherited from class org.jwalk.out.StatisticalReport |
---|
confirmed, failed, passed, rejected, succeeded, terminated |
Fields inherited from class org.jwalk.out.Report |
---|
edition, walker |
Constructor Summary | |
---|---|
SummaryReport(ClassInspector inspector)
Creates a SummaryReport once all testing is finished. |
Method Summary | |
---|---|
java.lang.String |
banner()
Returns a banner announcing the test summary. |
long |
countPruned()
Counts the number of tests that were pruned altogether. |
java.lang.String |
explorationSummary()
Returns a summary of the results of exploration. |
java.lang.String |
getContent()
Returns the content this SummaryReport as formatted text. |
void |
tallyResults(CycleReport report)
Tallies the results of several TestCycleReports. |
java.lang.String |
validationSummary()
Returns a summary of the results of validation. |
Methods inherited from class org.jwalk.out.StatisticalReport |
---|
countConfirmed, countCorrect, countExecuted, countFailed, countIncorrect, countPassed, countRejected, countSucceeded, countTerminated, tallyResults |
Methods inherited from class org.jwalk.out.ProtocolReport |
---|
getConstants, getConstructors, getJWalker, getMethods, getTestClass, isAbstract, toString, toString, toString |
Methods inherited from class org.jwalk.out.Report |
---|
getEdition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SummaryReport(ClassInspector inspector)
inspector
- the ClassInspector that inspected the test class.Method Detail |
---|
public void tallyResults(CycleReport report)
report
- a CycleReport.public java.lang.String getContent()
getContent
in class ProtocolReport
public java.lang.String banner()
banner
in class ProtocolReport
public java.lang.String explorationSummary()
public java.lang.String validationSummary()
public long countPruned()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |