Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
daslu committed Aug 14, 2023
1 parent 7944eb6 commit 57cc1dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ It can automatically generate tests:

Tests are created by running code examples and remembering their outputs. The person writing the documentation is responsible for checking that these outputs are sensible. The tests are responsible for checking these outputs remain the same on future versions.

Tests are written in standard clojure.test files.

Each namespace of code examples has its own generated test file.
### Test files
Tests are written in standard clojure.test files. Each namespace of code examples has its own generated test file.
* The top-level forms in the test namespace correspond to all runnable top-level forms in the source namespace. That is, all top-level forms except for Rich `(comment ...)` blocks.
* The namespace definition form is adapted to the test namespace's needs.
* Forms that result in a var (e.g., `def`, `defn`, `defonce`) are kept as-is.
Expand Down

0 comments on commit 57cc1dd

Please sign in to comment.