Instructions on how to run tests

This commit is contained in:
Pablo Martin 2023-01-09 13:51:16 +01:00
parent 8534c727c4
commit 1d7423c265

View file

@ -1,3 +1,13 @@
# Lolafect
Lolafect is a collection of Python bits that help us build our Prefect flows.
Lolafect is a collection of Python bits that help us build our Prefect flows.
## How to test
IDE-agnostic:
1. Set up a virtual environment which contains both `lolafect` and the dependencies listed in `requirements-dev.txt`.
2. Run: `pytests tests`
In Pycharm: if you configure `pytest` as the project test runner, Pycharm will most probably autodetect the test
folder and allow you to run the test suite within the IDE.