Specifying * stack-trace-depth * in Clojure tests

What is the correct way to set *stack-trace-depth* value in Clojure tests?

+2
source share
1 answer

Bind it to a run-tests or run-all-tests call.

For instance:

 (binding [*stack-trace-depth* 5] (run-all-tests)) 
+2
source

All Articles