2019-10-16 18:40:31 +08:00
|
|
|
# Requirements
|
2019-10-17 16:55:46 +08:00
|
|
|
* python 3.6.8+
|
|
|
|
* pip install -r requirements.txt
|
2019-10-16 18:40:31 +08:00
|
|
|
|
|
|
|
# How to use this Test Project
|
|
|
|
```shell
|
2019-10-17 16:55:46 +08:00
|
|
|
pytest . --level=1
|
|
|
|
```
|
|
|
|
or test connect function only
|
|
|
|
|
|
|
|
```shell
|
|
|
|
pytest test_connect.py --level=1
|
|
|
|
```
|
|
|
|
|
2019-10-16 18:40:31 +08:00
|
|
|
with allure test report
|
2019-10-17 16:55:46 +08:00
|
|
|
|
2019-10-16 18:40:31 +08:00
|
|
|
```shell
|
|
|
|
pytest --alluredir=test_out . -q -v
|
|
|
|
allure serve test_out
|
|
|
|
```
|
|
|
|
# Contribution getting started
|
2019-10-17 16:55:46 +08:00
|
|
|
* Follow PEP-8 for naming and black for formatting.
|
|
|
|
|