Ordering of tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Unassigned |
Bug Description
It would be nice to be able to create a meta job that can call other jobs in a particular sequence. The use case is for using existing jobs as pre and post action tests. Recently , this became apparent with the consumer tests and suspend/resume.
For example a meta job could look like this (horribly pseudocoded)
plugin: shell
name: Suspend One Time
_description: This test will check network and resolution, suspend and resume the system, then recheck network and resolution to ensure they work after a sleep state.
command:
from network.txt run internet_test job
from video.txt run get_resolution job
sleep_test --options
from network.txt run internet_test job
from video.txt run compare_resolution job
if any fail
return 1
else
return 0
tags: | added: wishlist |
summary: |
- WISHLIST: Create a way to have a meta job call other jobs (or to - schedule certain jobs in a particular order) + Ordering of tests |
tags: | removed: wishlist |
Agreed. In general, checkbox needs to provide a way to give more control over the ordering of tests.