PyTest Full Stack¶
Full Stack¶
This framework has tests covering:
- SQL Schemas for foreign keys, number of tables, check constraints etc...
- Unit tests
- Mocks, patches and monkey patches
- Behavior Driven Testing templates
- API testing
- End to End testing with Playwright
YouTube videos¶
Videos are available here: YouTube
Repo¶
The PyTest Full Stack repo is available here: PyTest Full Stack
Installation¶
- In your IDE open up the PyTest_01_FULL folder.
- Create a virtual environment
python -m venv venv
. - Activate your virtual enviromnent: Windows
.\venv\Scripts\activte
or Macsource venv\bin\activate
. - install requirements
pip install -r requirements.txt
. - for Playwright browsers run
playwright install
. - run all tests
python -m pytest -vs
. - There are around 200 templated tests.
- The video series goes into features and utils -> YouTube