Module result

This module allows the batch reporting of test results. Beforehand the module runner needs to be used to produce the test results. The predicate result_batch/1 can then be used to generate a number of files that list and summarize the results in HTML format. The reporting tool makes an additional assumption about the suite names:

suite --> package "_" module.

In the reporting tool it allows grouping the results through an additional aggregation level. The first HTML page will thus present the results grouped by packages. The current implementation shows success and failure counts not only as numbers but also as coloured bars. Furthermore links to the original test cases will be generated.

The following result predicates are provided:

result_batch(R):
The predicate generates a number of files into the location pointed by the base_url Prolog flag. Links to the test cases are generated relative to the argument R.

Kommentare