this project want to do some automated testing stuff including api, browser and mobile device
- https://hackmd.io/@m_DutsiYQdSG0m1spz8yIQ/SyDTR6wBU#/
- https://slides.com/yfr984/full-stack-testing-starter
$ pip3 install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$ deactivate
(venv) $ pip3 install -r requirements.txt
or
(venv) $ pip3 install pytest
(venv) $ pip3 install urllib3
(venv) $ pip3 install selenium
(venv) $ pip3 install Appium-Python-Client
(venv) $ pip3 install allure-pytest
- after installed new library, you need to update requirements.txt
(venv) $ pip3 freeze | tee requirements.txt
(venv) $ pytest -v -s
(venv) $ pytest -v -s tests/api/demo/get_test.py
(venv) $ pytest -v -s tests/api/
(venv) $ pytest -v -s tests/api/ --alluredir=build/allure_results
$ ./allure/allure-2.13.1/bin/allure serve build/allure_results