mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-07 21:01:37 +00:00
small edits, added allure stuff
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
## Cloud SDK Library
|
||||
Using Swagger Autogenerated CloudSDK Library as a pip installer.
|
||||
Using Swagger Autogenerated CloudSDK Library pypi package (implemented with [swagger codegen](https://github.com/swagger-api/swagger-codegen)).
|
||||
Using [pytest] as the test execution framework.
|
||||
Using [pylint](http://pylint.pycqa.org) for code quality monitoring.
|
||||
Using [allure](https://docs.qameta.io/allure/#_about) with Github Pages to report test outcome.
|
||||
|
||||
### Follow the setps below to setup the environment for your development Environment
|
||||
|
||||
@@ -70,8 +73,12 @@ pylint --fail-under=7 *py
|
||||
|
||||
the command above would produce a non-zero exit code if the score drops below 7.
|
||||
|
||||
### Reporting
|
||||
|
||||
Currently the plan is to use pytest integrated with [allure](https://docs.qameta.io/allure/#_pytest) to create visual reports for the test outcomes
|
||||
|
||||
### Miscelanneous
|
||||
|
||||
1. Do not use old style string formatting: `"Hello %s" % var`; use `f"Hello {var}` instead
|
||||
2. use `"""` in Docstrings
|
||||
3. todo
|
||||
3. todo
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
# actual code package dependencies
|
||||
tip_wlan_cloud >= 0.0.3
|
||||
certifi >= 14.05.14
|
||||
six >= 1.10
|
||||
python_dateutil >= 2.5.3
|
||||
setuptools >= 21.0.0
|
||||
urllib3 >= 1.15.1
|
||||
pylint
|
||||
pytest
|
||||
|
||||
# style\reporting package dependencies
|
||||
pylint
|
||||
allure-pytest
|
||||
Reference in New Issue
Block a user