BaseSuite#

class BaseSuite[source]#

Class for running a set of checks together, and returning a unified pass / no-pass.

Parameters
checks: OrderedDict

A list of checks to run.

name: str

Name of the suite

__init__(name: str, *checks: Union[BaseCheck, BaseSuite])[source]#
__new__(*args, **kwargs)#

Attributes

BaseSuite.checks

BaseSuite.name

Methods

BaseSuite.add(check)

Add a check or a suite to current suite.

BaseSuite.config()

Return suite configuration (checks' conditions' configuration not yet supported).

BaseSuite.from_config(conf[, version_unmatch])

Return suite object from a CheckConfig object.

BaseSuite.from_json(conf[, version_unmatch])

Deserialize suite instance from JSON string.

BaseSuite.remove(index)

Remove a check by given index.

BaseSuite.supported_checks()

Return list of of supported check types.

BaseSuite.to_json([indent])

Serialize suite instance to JSON string.