File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,21 @@ As you make changes to the solution you are writing use your editor's functional
12
12
13
13
Remember to evaluate ` (exercise-name-test:run-tests) ` to re-run the tests after loading your updated solution.
14
14
15
+ ## Testing from the command line
15
16
17
+ Executing the tests from the command line is possible, but it depends on which Common Lisp implementation you have chosen.
18
+ For example, with SBCL you could execute this in the directory for exercise "foo"
19
+
20
+ ``` sh
21
+ sbcl --noinform \
22
+ --load foo-test \
23
+ --eval ' (exit :code (if (foo-test:run-tests) 0 1))'
24
+ ```
25
+
26
+ Other Common Lisp implementations will have similar but slightly different command-line options and exit commands.
27
+
28
+ This assumes you have already installed SBCL and Quicklisp.
29
+ See [ Installing Common Lisp locally] ( https://exercism.org/docs/tracks/common-lisp/installation )
30
+
31
+ That command is somewhat unwieldy.
32
+ A method to wrap that into the ` exercism ` CLI is [ shown here] ( https://glennj.github.io/exercism/cli ) .
You can’t perform that action at this time.
0 commit comments