Liking cljdoc? Tell your friends :D

net.lewisship.cli-tools.test

Utilities to assist with writing tests for commands.

Utilities to assist with writing tests for commands.
raw docstring

capture-resultcljmacro

(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.
sourceraw docstring

disable-ansiclj

(disable-ansi f)

Fixture to disable ANSI colors.

Fixture to disable ANSI colors.
sourceraw docstring

with-err-strcljmacro

(with-err-str & body)

Executes the body, capturing any output to err.

Executes the body, capturing any output to *err*.
sourceraw docstring

with-err-str*clj

(with-err-str* f)
source

with-exitcljmacro

(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.
sourceraw docstring

with-split-errcljmacro

(with-split-err & body)
source

with-split-outcljmacro

(with-split-out & body)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close