This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-18
Channels
- # admin-announcements (59)
- # beginners (5)
- # boot (99)
- # cider (9)
- # clojure (207)
- # clojure-czech (1)
- # clojure-dev (28)
- # clojure-france (3)
- # clojure-italy (1)
- # clojure-japan (22)
- # clojurescript (234)
- # core-async (12)
- # datascript (1)
- # datomic (60)
- # funcool (137)
- # hoplon (18)
- # instaparse (2)
- # jobs (2)
- # ldnclj (42)
- # ldnproclodo (3)
- # liberator (13)
- # off-topic (21)
- # onyx (2)
- # re-frame (5)
- # reagent (12)
- # ring-swagger (5)
- # testing (17)
I don’t know how I am managing this but my “lein ring server-headless 3001” Liberator service appears to be running my test suite every time a request comes in. I’m a little baffled how this is the case. Would appreciate any insights anyone has.
do you use something like wrap-reload?
are you using midje or clojure.test?
Nothing jumping into my eye.
Try bisecting, omit routes etc. and look if it stops.
lein-ring defaults to :autoreload true
I guess somewhere in your test namespace you have a toplevel expression that triggers the expectations to be run. (I’m no expert on expectsions
though)