Specifying *stack-trace-depth* in Clojure tests
What is the correct way to set the 开发者_JAVA技巧value of *stack-trace-depth*
in Clojure tests?
Bind it around your call to run-tests
or run-all-tests
.
For example:
(binding [*stack-trace-depth* 5] (run-all-tests))
精彩评论