inet.test.smoke¶
This module provides functionality for smoke testing of multiple simulations.
The main function is run_smoke_tests(). It allows running multiple smoke tests matching the
provided filter criteria. Smoke tests check if simulations run without crashing and terminate properly.
Classes¶
Represents a simulation test task that can be run (and re-run) without providing additional parameters. |
Functions¶
|
Returns multiple smoke test tasks matching the provided filter criteria. The returned tasks can be run by calling |
|
Runs one or more smoke tests that match the provided filter criteria. |
Module Contents¶
- inet.test.smoke.get_smoke_test_tasks(cpu_time_limit='1s', run_number=0, **kwargs)¶
Returns multiple smoke test tasks matching the provided filter criteria. The returned tasks can be run by calling the
runmethod.- Parameters:
kwargs (dict) – The filter criteria parameters are inherited from the
get_simulation_tasksmethod.
- Returns (
MultipleSimulationTestTasks): an object that contains a list of
SimulationTestTaskobjects matching the provided filter criteria. The result can be run (and re-run) without providing additional parameters.
- inet.test.smoke.run_smoke_tests(**kwargs)¶
Runs one or more smoke tests that match the provided filter criteria.
- Parameters:
kwargs (dict) – The filter criteria parameters are inherited from the
get_smoke_test_tasks()function.
- Returns (
MultipleTestTaskResults): an object that contains a list of
SimulationTestTaskResultobjects. Each object describes the result of running one test task.