generate_tests#

omni.graph.tools.ogn.generate_tests(
configuration: GeneratorConfiguration,
) str | None#

Create support files for the tests on the node

Parameters:

configuration – Information defining how and where the test files will be generated

Returns:

String containing the generated test script code or None if its generation was not enabled

Raises:

NodeGenerationError – When there is a failure in the generation of the tests