We use Catch 2.11.0 for testing. The test script test.sh downloads this version by itself, if needed.
Running the test once:
docker run --rm -it -v ${PWD}:/app -w /app --entrypoint tests.sh gcc:8.5.0-buster
Using the running docker container to execute tests:
docker run --rm -it -v ${PWD}:/app -w /app --entrypoint bash gcc:8.5.0-buster
# then use the bash from docker to run:
./tests.sh