Sample project showcasing how to use pytest on all layers of a full-stack project.
git clone https://github.com/igortg/fullstack-pytest-tutorial.git
cd fullstack-pytest-tutorial\toh-server
pip install -r requirements.txt
export PYTHONPATH=$PWD
cd toh-ui
npm install
pytest toh-server
cd toh-ui
npm install
npm run all
cd ..
pytest e2e
Talk at Python Sul
https://gitpitch.com/igortg/fullstack-pytest-tutorial/pythonsul-talk