Liking cljdoc? Tell your friends :D

appa.report

This is mainly an overwrite to clojure.test report section in order to get these values available in appa.

This is mainly an overwrite to clojure.test report section in order to get these values available in appa.
raw docstring

*initial-report-counters*clj


*report-counters*clj


*stack-trace-depth*clj

The maximum depth of stack traces to print when an Exception is thrown during a test. Defaults to nil, which means print the complete stack trace.

The maximum depth of stack traces to print when an Exception
is thrown during a test.  Defaults to nil, which means print the
complete stack trace.
raw docstring

*test-out*clj


*testing-contexts*clj


*testing-vars*clj


inc-report-counterclj

(inc-report-counter name)

Increments the named counter in report-counters, a ref to a map. Does nothing if report-counters is nil.

Increments the named counter in *report-counters*, a ref to a map.
Does nothing if *report-counters* is nil.
raw docstring

reportcljmultimethod

Generic reporting function, may be overridden to plug in different report formats (e.g., TAP, JUnit). Assertions such as 'is' call 'report' to indicate results. The argument given to 'report' will be a map with a :type key. See the documentation at the top of test_is.clj for more information on the types of arguments for 'report'.

Generic reporting function, may be overridden to plug in
different report formats (e.g., TAP, JUnit).  Assertions such as
'is' call 'report' to indicate results.  The argument given to
'report' will be a map with a :type key.  See the documentation at
the top of test_is.clj for more information on the types of
arguments for 'report'.
raw docstring

testing-contexts-strclj

(testing-contexts-str)

Returns a string representation of the current test context. Joins strings in testing-contexts with spaces.

Returns a string representation of the current test context. Joins
strings in *testing-contexts* with spaces.
raw docstring

testing-vars-strclj

(testing-vars-str m)

Returns a string representation of the current test. Renders names in testing-vars as a list, then the source file and line of current assertion.

Returns a string representation of the current test.  Renders names
in *testing-vars* as a list, then the source file and line of
current assertion.
raw docstring

with-test-outcljmacro

(with-test-out & body)

Runs body with out bound to the value of test-out.

Runs body with *out* bound to the value of *test-out*.
raw docstring

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

× close