TestingΒΆ

BYCEPS comes with a quite extensive (but not all-encompassing) suite of tests to be able to verify that at least a big part works as intended.

Running the tests is mostly useful for development of BYCEPS itself as well as for customization.

Important

Before continuing, make sure that the virtual environment is set up and activated.

In the activated virtual environment, first install the test dependencies:

(venv)$ pip install -r requirements/test.txt

Then run the tests:

(venv)$ pytest

To abort on encountering the first failing test case:

(venv)$ pytest -x