(times n)
A helper function for externally-configurable test run counts.
Usage:
(defspec foo-test (times 20) ...)
Simply returns n normally, but if the TEST_CHECK_FACTOR env variable is set to a number, n will be multiplied by that number.
In ClojureScript, TEST_CHECK_FACTOR will retrieved at compile-time.
A helper function for externally-configurable test run counts. Usage: (defspec foo-test (times 20) ...) Simply returns n normally, but if the TEST_CHECK_FACTOR env variable is set to a number, n will be multiplied by that number. In ClojureScript, TEST_CHECK_FACTOR will retrieved at compile-time.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |