igortg / fullstack-pytest-tutorial

A sample project using pytest on Full-stack Development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full-stack pytest tutorial

Sample project showcasing how to use pytest on all layers of a full-stack project.

Installing

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

Running back-end tests

pytest toh-server

Running end-to-end tests

cd toh-ui
npm install
npm run all
cd ..

pytest e2e  

Talk at Python Sul

https://gitpitch.com/igortg/fullstack-pytest-tutorial/pythonsul-talk

About

A sample project using pytest on Full-stack Development

License:GNU General Public License v3.0


Languages

Language:TypeScript 40.6%Language:Python 31.7%Language:CSS 18.6%Language:HTML 4.9%Language:JavaScript 4.2%