Test automation standard engineering project template. More and more features to be added in future.
1. Clone this repo and run the following command. (Installing with -e
flag is strongly recommended.)
git clone https://github.com/AirtestProject/my-testflow.git
pip install -e my-testflow
2. Run the example script after installation.
python testflow/scripts/example.py
3. Check the test results in pocounit-results/
with TestResultPlayer.
─ my-testflow/
├─ testflow/ <------- rename this folder if you with (identifier only)
| ├─ __init__.py
| ├─ lib/
| | ├─ __init__.py
| | └─ ...
| └─ scripts/
| ├─ __init__.py
| ├─ example.py <------- you can try running this script
| └─ ...
├─ res/ <------- store any resource files
| ├─ app/
| └─ img/
├─ pocounit-results/ <------- test results will auto generated here
├─ setup.py
├─ requirements.txt
└─ .gitignore
Use our TestResultPlayer to replay the whole procedure of your tests!
This template is designed for engineering test flow and it works along with following frameworks. You can take a look at the API reference according to each framework.