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.
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.
(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.
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'.
(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.
(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.
(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*.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close