Skip to content

CommonMarvel/full-stack-testing-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

full-stack-testing-starter Cool Coverage MIT Licence Open Source Love

this project want to do some automated testing stuff including api, browser and mobile device

slides in Hackmd.io

hi, newbies πŸ’‚πŸ»


setup venv βš™οΈ

$ pip3 install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$ deactivate

setup project interpreter (options, ide only)

pip install

(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

run test πŸ§™β€β™‚οΈ

(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

unzip allure/allure-commandline-2.13.1.zip

run allure server to see the report πŸ‘€

$ ./allure/allure-2.13.1/bin/allure serve build/allure_results

more information about pytest

more information about python selenium

more information about python appium

About

Full Stack Testing Project Starter πŸ€–πŸ–₯πŸ“±

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published