Liking cljdoc? Tell your friends :D

fulcro-spec.reporters.terminal


*exclude-files*clj

source

*stack-frames*clj

source

cfgclj

Terminal reporter configuration. You may swap against this atom to set configuration parameters to modify how reports are generated.

Options (defaults are shown) are:

{:fail-only?     false ; do not show passing tests
 :color?         true  ; highlight things using terminal colors
 :diff-hl?       false ; print the (unexpected) actual
 :diff?          true  ; Show a diff?

 :diff-list?     false ; print a list of all of the data diffs
 :num-diffs      1     ; max number of diffs if using diff-list?

 :full-diff?     true  ; always show full expected and actual?
 :frame-limit    100   ; Max stack frames on an exception
 :quick-fail?    true  ; stop on the first failure

 ;; Affects output of original assertions
 :*print-level*  3   ; See clojure *print-level*.
 :*print-length* 3}  ; See clojure *print-length*

Typically you'd do something like this to change an option:

(swap! fulcro-spec.reporters.terminal/cfg assoc :color? false)
Terminal reporter configuration. You may swap against this atom to set configuration parameters to modify how
reports are generated.

Options (defaults are shown) are:

```
{:fail-only?     false ; do not show passing tests
 :color?         true  ; highlight things using terminal colors
 :diff-hl?       false ; print the (unexpected) actual
 :diff?          true  ; Show a diff?

 :diff-list?     false ; print a list of all of the data diffs
 :num-diffs      1     ; max number of diffs if using diff-list?

 :full-diff?     true  ; always show full expected and actual?
 :frame-limit    100   ; Max stack frames on an exception
 :quick-fail?    true  ; stop on the first failure

 ;; Affects output of original assertions
 :*print-level*  3   ; See clojure *print-level*.
 :*print-length* 3}  ; See clojure *print-length*
```

Typically you'd do something like this to change an option:

```
(swap! fulcro-spec.reporters.terminal/cfg assoc :color? false)
```
sourceraw docstring

color-strclj

(color-str status & strings)
source

envclj

(env k)
source

fulcro-reportcljmultimethod

source

merge-cfg!clj

(merge-cfg!)
(merge-cfg! new-cfg)

For use in the test-refresh repl to change configuration on the fly. Single arity will show you the possible keys you can use. Passing an empty map will show you the current values.

For use in the test-refresh repl to change configuration on the fly.
Single arity will show you the possible keys you can use.
Passing an empty map will show you the current values.
sourceraw docstring

no-core-traceclj

(no-core-trace ex)
source

padclj

(pad pad n)
source

pr-str-actualclj

(pr-str-actual test-result print-level)
source

pr-str-expectedclj

(pr-str-expected test-result print-level)
source

pretty-strclj

(pretty-str s n)
source

(print-diff diff actual print-fn)
source

(print-extra e print-fn)
source

(print-highlighted-diff diff actual)
source

(print-message {:keys [expected message]} print-fn)
source

(print-namespace make-tests-by-namespace)
source

(print-reporter reporter)

Prints the current report data from the report data state and applies colors based on test results

Prints the current report data from the report data state and applies colors based on test results
sourceraw docstring

(print-test-item test-item print-level)
source

(print-test-report {:keys [namespaces test pass fail error]})
source

(print-test-result {:keys [where status extra throwable diff]
                    :fulcro-spec.assertions/keys [actual]
                    :as test-result}
                   print-fn
                   print-level)
source

(print-throwable e)
source

(print-where w s print-fn)
source

space-levelclj

(space-level level)
source

thisclj

source

when-fail-only-keep-failedclj

source

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

× close