Add tests README

This commit is contained in:
Ayaz Salikhov
2021-06-26 15:16:46 +03:00
parent c66273974f
commit 847724465e

12
test/README.md Normal file
View File

@@ -0,0 +1,12 @@
# Docker stacks testing
We test our images using `pytest` module.
There are two kinds of tests we use:
- General tests - these are located in [this](https://github.com/jupyter/docker-stacks/blob/master/test) folder
- Image specific tests - for example, [base-notebook/test](https://github.com/jupyter/docker-stacks/blob/master/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](https://github.com/jupyter/docker-stacks/blob/master/scipy-notebook/test/units)