Utilities to assist with writing tests for commands.
Utilities to assist with writing tests for commands.
(capture-result & body)Executes body and capture standard out, standard error, and exit status.
Executes body and capture standard out, standard error, and exit status.
(disable-ansi f)Fixture to disable ANSI colors.
Fixture to disable ANSI colors.
(with-err-str & body)Executes the body, capturing any output to err.
Executes the body, capturing any output to *err*.
(with-exit status-code & body)Asserts that net.lewisship.cli-tools/exit is invoked with the specified status code.
Asserts that net.lewisship.cli-tools/exit is invoked with the specified status code.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |