Files
docker-stacks/test
2022-01-24 19:14:11 +03:00
..
2022-01-23 12:44:16 +03:00
2021-06-26 19:08:04 +03:00
2022-01-22 00:46:20 +02:00
2022-01-23 12:44:16 +03:00
2022-01-22 00:46:20 +02: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.