You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-5Lines changed: 44 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,56 @@ You can find this in the [`config.json`][file-config].
12
12
13
13
## Running the test suite
14
14
15
-
To test all exercises with sample solutions using [babashka](https://babashka.org/):
15
+
The Clojure track is using [babashka][babashka] as its test runner.
16
+
17
+
Each exercise contains an example solution named `example.clj`.
18
+
This file is run against the tests when verifying the exercise.
19
+
20
+
After installing babashka, you can verify all exercises with:
21
+
22
+
```bash
23
+
$ bin/verify-exercises
24
+
25
+
{:tested 114, :fails ()}
26
+
```
27
+
28
+
Verify a single exercise with:
29
+
30
+
```bash
31
+
bin/verify-exercises {slug}
32
+
```
33
+
34
+
For example:
16
35
17
36
```bash
18
-
./test.clj .
37
+
$ bin/verify-exercises bob
38
+
39
+
{:tested 1, :fails ()}
19
40
```
20
-
{:tested 86, :fails ()}
41
+
42
+
## Clojure Track Tooling
43
+
44
+
Next to the exercises, the Clojure track also consists of the following tooling:
45
+
46
+
-[exercism/clojure-test-runner] - The Exercism [test runner][docs-test-runners] for the Clojure track that automatically verifies if a submitted solution passes all of the exercise's tests.
47
+
-[exercism/clojure-representer] - The Exercism [representer][docs-representers] for the Clojure track that creates normalized representations of submitted solutions.
48
+
-[exercism/clojure-analyzer] - The Exercism [analyzer][docs-analyzers] for the Clojure track that automatically provides comments on submitted solutions.
21
49
22
50
## Contributing Guide
23
51
24
-
Please see the [contributing guide](https://exercism.org/docs/building).
52
+
If you have any suggestions or comments, it is recommended to start a topic on the [Exercism forum][forum-clojure] first.
53
+
54
+
For general information about how to contribute to Exercism, please refer to the [contributing guide][contributing].
0 commit comments