Table Of Contents
Table Of Contents

inet.test.opp

This module provides functionality for running multiple tests using the opp_test command.

The main function is run_opp_tests(). It allows running multiple tests matching the provided filter criteria.

Classes

MultipleOppTestTasks

Represents multiple test tasks that can be run together.

OppTestTask

Represents a self-contained test task that can be run without additional parameters.

Functions

get_opp_test_tasks(test_folder[, simulation_project, ...])

Returns multiple opp test tasks matching the provided filter criteria. The returned tasks can be run by

run_opp_tests(test_folder, **kwargs)

Runs one or more tests using the opp_test command that match the provided filter criteria.

Module Contents

inet.test.opp.get_opp_test_tasks(test_folder, simulation_project=None, filter='.*', full_match=False, **kwargs)

Returns multiple opp test tasks matching the provided filter criteria. The returned tasks can be run by calling the run method.

Parameters:

kwargs (dict) – TODO

Returns (MultipleTestTasks):

an object that contains a list of OppTestTask objects matching the provided filter criteria. The result can be run (and re-run) without providing additional parameters.

inet.test.opp.run_opp_tests(test_folder, **kwargs)

Runs one or more tests using the opp_test command that match the provided filter criteria.

Parameters:

kwargs (dict) – The filter criteria parameters are inherited from the get_opp_test_tasks() function.

Returns (MultipleTestTaskResults):

an object that contains a list of TestTaskResult objects. Each object describes the result of running one test task.