The job of test scheduling for humans.
pip install pytest-schedule
You should to install the Pytest library if it's not already installed
pip install pytest
python -m pytest_schedule.generate schedule_json
python -m pytest_schedule -t tag
python -m pytest_schedule --tags smoke,unittest,integration
python -m pytest_schedule --tag unittest --test_module unittest
python -m pytest_schedule --tag unittest --test_module pytest
{
"0.0.4": [
{
"smoke": [
{
"test_binary_tree_0.py": "10:15:00"
}
]
},
{
"smoke": [
{
"test_module_binary_tree_1_0.py": "10:10:00"
}
]
},
{
"tag": [
{
"test_module_binary_tree_2_0_0.py": "time"
}
]
},
...
}
$ python -m pytest_schedule --help