This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-09
Channels
- # aleph (21)
- # architecture (5)
- # boot (25)
- # cider (1)
- # cljs-dev (115)
- # clojure (59)
- # clojure-brasil (3)
- # clojure-dev (4)
- # clojure-italy (20)
- # clojure-nl (2)
- # clojure-portugal (6)
- # clojure-russia (12)
- # clojure-spec (43)
- # clojure-uk (37)
- # clojurescript (76)
- # datomic (123)
- # emacs (3)
- # graphql (2)
- # hoplon (5)
- # jobs-discuss (1)
- # jobs-rus (4)
- # keechma (7)
- # lein-figwheel (13)
- # leiningen (7)
- # lumo (2)
- # off-topic (17)
- # om (6)
- # onyx (26)
- # parinfer (19)
- # planck (2)
- # re-frame (80)
- # reagent (9)
- # ring (1)
- # spacemacs (45)
- # testing (1)
- # vim (28)
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