avocado_i2n.plugins.loader module

Specialized test loader for the plugin.

SUMMARY

Copyright: Intra2net AG

INTERFACE

class avocado_i2n.plugins.loader.TestLoader(config: dict[str, str] = None, extra_params: dict[str, str] = None)[source]

Bases: Resolver

Test loader for Cartesian graph parsing.

name = 'cartesian_loader'
description = 'Loads tests from initial Cartesian product'
resolve(reference: str | None) list[tuple[type, dict[str, str]]][source]

Discover (possible) tests from test references.

Parameters:

reference – tests reference used to produce tests

Returns:

test factories as tuples of the test class and its parameters