diff --git a/tests/README.md b/tests/README.md index 3176f04e..f879529d 100644 --- a/tests/README.md +++ b/tests/README.md @@ -9,6 +9,12 @@ To run the tests using the Docker image, navigate to the `adaptive-lighting` rep docker run -v $(pwd):/app basnijholt/adaptive-lighting:latest ``` +and to show the logs with colors use: + +```bash +docker run -v $(pwd):/app -e 'PYTEST_ADDOPTS="--color=yes"' basnijholt/adaptive-lighting:latest +``` + This command will download the Docker image from [the adaptive-lighting Docker Hub repo]((https://hub.docker.com/r/basnijholt/adaptive-lighting)) and run the tests. If you prefer to build the image yourself, use the following command: