Skip to content

Commit 4c9ac6a

Browse files
authored
remove REPL test-running instructions from shared docs (#852)
1 parent c0288e7 commit 4c9ac6a

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

exercises/shared/.docs/tests.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The Clojure exercises on Exercism ship with a `deps.edn` file with a `:test` alias to invoke the [cognitect-labs test-runner](https://github.com/cognitect-labs/test-runner):
66

77
``` bash
8-
$ clj -X:test
8+
clj -X:test
99
```
1010

1111
## Leiningen
@@ -15,31 +15,3 @@ Leiningen can also be used to run the exercise's test by running the following c
1515
```bash
1616
lein test
1717
```
18-
19-
## REPL
20-
21-
To use the REPL to run the exercise's test, run the following command from the exercise's directory:
22-
23-
```bash
24-
$ clj
25-
```
26-
27-
-or-
28-
29-
```bash
30-
$ lein repl
31-
```
32-
33-
Then `require` the exercise's test namespace and the Clojure test namespace):
34-
35-
```clojure
36-
;; replace <exercise> with the exercise's name
37-
=> (require '<exercise>-test)
38-
```
39-
40-
Then call `run-tests` on `<exercise>-test`:
41-
42-
```clojure
43-
;; replace <exercise> with the exercise's name
44-
=> (clojure.test/run-tests '<exercise>-test)
45-
```

0 commit comments

Comments
 (0)