Created
June 30, 2021 04:44
-
-
Save mikeananev/f278a18d990d1cb16de5930bdb580c30 to your computer and use it in GitHub Desktop.
Short stacktraces during the tests in Clojure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn short-stack [f] | |
(binding [clojure.test/*stack-trace-depth* 5] | |
(f))) | |
(use-fixtures :once short-stack) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment