(c.f. For full details and up to date documentation on automated test running for Exercism see the docs here.)
The script that the docker image runs takes three arguments:
- the test slug
- the input directory namestring
- the output directory namestring
There is a shell script ./bin/run-local.sh
which will allow one to run the docker image on tests on one's local machine. It creates appropriate mount points so the test-runner can access all needed files.
Note: this script mush be run from the root directory of the repository.
For example:
./bin/run-local.sh basics ../v3/languages/common-lisp/exercises/concept/basics .
Will run the tests from the provided directory and put the results.json
file in the current directory.