testing

Testing tools, testing philosophy & methodology...
joshjones 2017-08-09T22:47:06.920148Z

I have some setup before my test runs, using clojure.test. If a particular step fails in the setup process, I wish to discontinue the test, "short-circuiting" any further tests from running (either in this namespace or inside this deftest) and show that a failure occurred. What's the most straightforward way to do this? I can do (is (= 1 0)) or something, but I don't think this is the best way, nor does it short circuit further tests. fwiw, I saw https://groups.google.com/forum/#!topic/clojure-dev/uyj3-lG7qeQ so possible this is not possible using built-in mechanism, just wanted to check here first