Liking cljdoc? Tell your friends :D

seancorfield.readme

Turn a README file into a test namespace.

Turn a README file into a test namespace.
raw docstring

-mainclj

(-main & [readme readme-test])

A useful default test behavior that can be invoked from the command line via -m seancorfield.readme

This turns README.md (if it exists) into src/readme.clj, then requires it and runs its tests, and finally deletes src/readme.clj.

Optional arguments for the readme file and the generated test can override the defaults.

A useful default test behavior that can be invoked from the command
line via `-m seancorfield.readme`

This turns `README.md` (if it exists) into `src/readme.clj`, then
requires it and runs its tests, and finally deletes `src/readme.clj`.

Optional arguments for the readme file and the generated test can override
the defaults.
sourceraw docstring

defreadmecljmacro

(defreadme name & body)

Wrapper for deftest that understands readme examples.

Wrapper for deftest that understands readme examples.
sourceraw docstring

readme->testclj

(readme->test readme readme-test)

Given the path to a README, generate a plain old clojure.test file at the specified path. If the test path exists, it will be overwritten.

Given the path to a README, generate a plain old `clojure.test` file
at the specified path. If the test path exists, it will be overwritten.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close