vladimir-grigoriev / onliner_test_allure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Onliner test + Allure

Steps

  1. Clone the repository
https://github.com/vladimir-grigoriev/onliner_test_allure.git
  1. Create and run virtualenv
python -m venv venv
. ./venv/bin/activate
  1. Install all the requirements from requirements.txt
pip install -r requirements.txt
  1. Make sure, that Chrome Webdriver folder exists in your PATH and Allure is installed
  2. Run tests with the command
pytest -v -s --alluredir="path/to/reports/folder" tests/
  1. Create Allure reports with next command
allure serve /path/to/reports/folder

Screenshot for Pytest + Allure report

Test image1

About


Languages

Language:Python 100.0%