memote.suite.reporting.report

Provide an abstract report base class that sets the interface.

Module Contents

Classes

Report Determine the abstract report interface.
memote.suite.reporting.report.LOGGER[source]
class memote.suite.reporting.report.Report(result, configuration, **kwargs)[source]

Bases: object

Determine the abstract report interface.

Attributes:
result : memote.MemoteResult

The dictionary structure of results.

configuration : memote.MemoteConfiguration

A memote configuration structure.

render_json(self, pretty=False)[source]

Render the report results as JSON.

Parameters:
pretty : bool, optional

Whether to format the resulting JSON in a more legible way ( default False).

render_html(self)[source]

Render an HTML report.

get_configured_tests(self)[source]

Get tests explicitly configured.

determine_miscellaneous_tests(self)[source]

Identify tests not explicitly configured in test organization.

List them as an additional card called Misc, which is where they will now appear in the report.

compute_score(self)[source]

Calculate the overall test score using the configuration.