pashkatrick / qa-boilerplate

pytest project template for QA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QA python/pytest project boilerplate

particularity

there is a string in pyproject.toml

addopts = "--clean-alluredir --alluredir allure_result --numprocesses 3 --retries 1 --retry-delay 3"

it reference to allure-pytest, pytest-xdist and pytest-retry libs and auto add flags to main command, like

pytest -s tests/test_first.py

or

pytest -s -k TestFirst

included libs

allure-pytest
pydantic
pytest
pytest-retry
pytest-rerunfailures
pytest-xdist
requests
ruff
soft-assert
memray

codestyle

To check the code style

ruff check .

To format the code

ruff format .

all of this setting up in pyproject.toml

About

pytest project template for QA


Languages

Language:Python 61.3%Language:Dockerfile 38.7%