inet.test.fingerprint.task¶
This module provides functionality for fingerprint testing of multiple simulations.
The main function is run_fingerprint_tests(). It allows running multiple fingerprint tests matching the provided
filter criteria. Fingerprint tests check for regressions in the simulation execution trajectory.
Classes¶
Represents multiple test tasks that can be run together. |
|
Represents a simulation test task that can be run (and re-run) without providing additional parameters. |
|
Represents a simulation test task result that is collected when a simulation test task is run. |
|
Represents a self-contained test task that can be run without additional parameters. |
|
Represents a test task result that is created when a test task is run. |
|
Represents a self-contained operation that captures all necessary information in order to be run. |
|
Represents a task result that is produced when a |
|
Represents multiple test task results that are created when multiple test tasks are run. |
|
Represents multiple test tasks that can be run together. |
|
Represents multiple task results that are created when |
|
Represents multiple tasks that can be run together. |
Functions¶
|
Returns multiple fingerprint test tasks matching the provided filter criteria. The returned tasks can be run by |
|
Returns multiple fingerprint update tasks matching the provided filter criteria. The returned tasks can be run by |
|
Runs one or more fingerprint tests that match the provided filter criteria. |
|
Updates the stored correct fingerprints in the database for one or more fingerprint tests that match the provided |
Module Contents¶
- inet.test.fingerprint.task.get_fingerprint_test_tasks(**kwargs)¶
Returns multiple fingerprint 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 (
MultipleFingerprintTestTasks): an object that contains a list of
FingerprintTestTaskobjects matching the provided filter criteria. The result can be run (and re-run) without providing additional parameters.
- inet.test.fingerprint.task.get_update_correct_fingerprint_tasks(**kwargs)¶
Returns multiple fingerprint update 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 (
MultipleFingerprintUpdateTasks): an object that contains a list of
FingerprintUpdateTaskobjects matching the provided filter criteria. The result can be run (and re-run) without providing additional parameters.
- inet.test.fingerprint.task.run_fingerprint_tests(**kwargs)¶
Runs one or more fingerprint tests that match the provided filter criteria.
- Parameters:
kwargs (dict) – The filter criteria parameters are inherited from the
get_fingerprint_test_tasks()function.
- Returns (
MultipleFingerprintTestTaskResults): an object that contains a list of
FingerprintTestTaskResultobjects. Each object describes the result of running one test task.
- inet.test.fingerprint.task.update_correct_fingerprints(**kwargs)¶
Updates the stored correct fingerprints in the database for one or more fingerprint tests that match the provided filter criteria.
- Parameters:
kwargs (dict) – The filter criteria parameters are inherited from the
get_update_correct_fingerprint_tasks()function.
- Returns (
MultipleFingerprintUpdateTaskResults): an object that contains a list of
FingerprintUpdateTaskResultobjects. Each object describes the result of running one update task.