pytest-path

Example project for setting up pytest with your source code inside src folder and tests inside tests folder.

This repo also has an example of how to run pytest using tox in Github Actions.

test

Development

git clone git@github.com:ianpogi5/pytest-path.git
cd pytest-path
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Testing

Run pytest on time.

pytest

or you can run pytest every time you change a file.

ptw

Running locally

Install your package locally

pip install -e .

Run the program

python -m coffee latte