From e36ae352352443e11e114b434aa6a7d350d671b6 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Tue, 7 Feb 2023 13:30:24 +0100 Subject: [PATCH] Adding some test prerequisite docs --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 087dd06..56644b8 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,19 @@ from vipscore_common.data_utils import * ### Unit tests The tests are located in the `tests` folder, and we're using [Pytest](https://docs.pytest.org/) +Prerequisite: To test, use a venv, install this package in it by running: +``` bash +(venv) $ python -m pip install -e . +``` + To run the unit tests, move to the root folder of the project, and execute: ``` bash pytest -v ``` + + ### Using bumpver For developers: When you want to publish a new version, use ``` bash -- GitLab