#### pytest-schedule
The job of test scheduling for humans.
#### Installation
```
pip install pytest-schedule
```
You should to install the Pytest library if it's not already installed
```
pip install pytest
```
##### Usage:
#### Generate a tree of test module names, recursively, for the root directory of **pytest_schedule.json**
```
python -m pytest_schedule.generate schedule_json
```
##### Run tests with any custom tags from **pytest_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
```
##### Change the time to 00:00:00 according to the template in the pytest_schedule.json file
```
{
"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"
}
]
},
...
}
```
#### The following options are available by the command:
```
$ python -m pytest_schedule --help
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Alpaca00/pytest-schedule",
"name": "pytest-schedule",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "schedule,periodic,jobs,scheduling,clockwork,cron,scheduler,job scheduling,test job scheduling,pytest job scheduling,unittest job scheduling",
"author": "Oleg Matskiv",
"author_email": "alpaca00tuha@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/94/02/231663becd3ff7902c5b6ce626d7922105d9b9cf461aaf5f5e840f06e70c/pytest-schedule-0.0.6.tar.gz",
"platform": null,
"description": "#### pytest-schedule\n\nThe job of test scheduling for humans.\n\n#### Installation\n\n```\npip install pytest-schedule\n```\nYou should to install the Pytest library if it's not already installed\n```\npip install pytest\n```\n\n##### Usage:\n\n#### Generate a tree of test module names, recursively, for the root directory of **pytest_schedule.json**\n```\npython -m pytest_schedule.generate schedule_json\n```\n\n##### Run tests with any custom tags from **pytest_schedule.json**\n\n```\npython -m pytest_schedule -t tag\n\npython -m pytest_schedule --tags smoke,unittest,integration\n\npython -m pytest_schedule --tag unittest --test_module unittest\n\npython -m pytest_schedule --tag unittest --test_module pytest\n\n```\n\n##### Change the time to 00:00:00 according to the template in the pytest_schedule.json file\n```\n{\n \"0.0.4\": [\n {\n \"smoke\": [\n {\n \"test_binary_tree_0.py\": \"10:15:00\"\n }\n ]\n },\n {\n \"smoke\": [\n {\n \"test_module_binary_tree_1_0.py\": \"10:10:00\"\n }\n ]\n },\n {\n \"tag\": [\n {\n \"test_module_binary_tree_2_0_0.py\": \"time\"\n }\n ]\n },\n ...\n}\n```\n\n#### The following options are available by the command:\n```\n$ python -m pytest_schedule --help\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "The job of test scheduling for humans.",
"version": "0.0.6",
"split_keywords": [
"schedule",
"periodic",
"jobs",
"scheduling",
"clockwork",
"cron",
"scheduler",
"job scheduling",
"test job scheduling",
"pytest job scheduling",
"unittest job scheduling"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9402231663becd3ff7902c5b6ce626d7922105d9b9cf461aaf5f5e840f06e70c",
"md5": "69807c33fa0d73b070616edb489b18b7",
"sha256": "73c927a34908c3992d29ebb38895d9d92e5427c04d568960233ef721b3a717be"
},
"downloads": -1,
"filename": "pytest-schedule-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "69807c33fa0d73b070616edb489b18b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4629,
"upload_time": "2023-01-07T13:01:15",
"upload_time_iso_8601": "2023-01-07T13:01:15.301705Z",
"url": "https://files.pythonhosted.org/packages/94/02/231663becd3ff7902c5b6ce626d7922105d9b9cf461aaf5f5e840f06e70c/pytest-schedule-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-07 13:01:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Alpaca00",
"github_project": "pytest-schedule",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pytest-schedule"
}