(->testing-fn-repr m)
Returns a string representation of the current function test. Renders function name as a list, then the source file and line of current assertion.
Returns a string representation of the current function test. Renders function name as a list, then the source file and line of current assertion.
(do-equal-report equal expected [f & params :as actual])
Support customised spec examples in a test result and call report.
Support customised spec examples in a test result and call report.
(do-report m)
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call this function to pass test results to report. Modified clj.test fn to convert :fail-spec into :fail, in order to get file:line. Source: https://github.com/clojure/clojure/blob/master/src/clj/clojure/test.clj
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call this function to pass test results to report. Modified clj.test fn to convert :fail-spec into :fail, in order to get file:line. Source: https://github.com/clojure/clojure/blob/master/src/clj/clojure/test.clj
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call this function to pass test results to report. Source: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/test.cljs
Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call this function to pass test results to report. Source: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/test.cljs
(do-spec-report [f spec-kw example] expect-valid?)
Support customised spec examples in a test result and call report.
Support customised spec examples in a test result and call report.
(file-and-line exception depth)
Extract file, line, and maybe column number information from stracktrace. Source: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/test.cljs
Extract file, line, and maybe column number information from stracktrace. Source: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/test.cljs
(rm-cljsjs-st-fname-prefix-fluff fname)
Remove unnecessary (for reports) prefix found in a filename of a cljs js stacktrace.
Remove unnecessary (for reports) prefix found in a filename of a cljs js stacktrace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close