mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 02:24:04 +00:00
Docker stacks testing
We test our images using pytest
module.
conftest.py
and pytest.ini
in the root of our repository define the environment in which tests are run.
More info on pytest can be found here.
There are two kinds of tests we use:
- General tests - these are located in this folder
- Image specific tests - for example, base-notebook/test folder
We also have a way to easily run arbitrary python files in a container.
This is useful for running unit tests of packages we use, so we put these files in {image}/test/units
folder.
An example of such a test is unit_pandas.py.