This project provides tools to implements Doc as test with Python and pytest.
The script docker/build_docker_image.sh
build the image that run tests.
To run them, use the run_pytest.sh
script giving him parameters to pass to pytest command.
Example:
. run_pytest.sh -v
To execute examples in this project you need to install Python and the libraries listed in python_libs.txt.
They can install them with pip install
command.
Versions are just those used in our environment but it should work with others.
To run the tests, use the following command:
pytest -v