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.
Functions¶
|
Returns multiple opp test tasks matching the provided filter criteria. The returned tasks can be run by |
|
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
runmethod.- Returns (
MultipleTestTasks): an object that contains a list of
OppTestTaskobjects matching the provided filter criteria. The result can be run (and re-run) without providing additional parameters.
- Returns (
- 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
TestTaskResultobjects. Each object describes the result of running one test task.