开发者

Specifying *stack-trace-depth* in Clojure tests

开发者 https://www.devze.com 2023-01-27 18:15 出处:网络
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.

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))
0

精彩评论

暂无评论...
验证码 换一张
取 消