This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-23
Channels
- # announcements (2)
- # beginners (165)
- # boot (11)
- # cider (11)
- # clj-kondo (7)
- # cljdoc (1)
- # cljsrn (5)
- # clojure (120)
- # clojure-dev (21)
- # clojure-europe (3)
- # clojure-france (1)
- # clojure-italy (62)
- # clojure-nl (8)
- # clojure-spec (26)
- # clojure-uk (40)
- # clojuredesign-podcast (1)
- # clojurescript (3)
- # cursive (2)
- # data-science (2)
- # datomic (10)
- # emacs (2)
- # figwheel-main (1)
- # fulcro (17)
- # graphql (5)
- # hoplon (5)
- # jackdaw (15)
- # jobs (2)
- # juxt (1)
- # luminus (5)
- # off-topic (1)
- # onyx (11)
- # pathom (4)
- # pedestal (1)
- # re-frame (4)
- # reagent (11)
- # reitit (1)
- # remote-jobs (5)
- # shadow-cljs (48)
- # spacemacs (2)
- # specter (4)
- # sql (24)
- # tools-deps (25)
- # vim (82)
@allentiak first result for me points to https://github.com/ring-clojure/ring/wiki/Setup-for-development#setup-using-boot
Not sure what hints you are looking for? There is also https://github.com/danielsz/system-api-example
The one problem I have is with CIDER: it won't run my tests (running one test works OK, but running all tests complains that there are no "is" clauses -- something that is not true)
Like with cider-test-run-ns-tests
for instance? It works for me on boot projects (I don’t know if there is anything boot-specific here)
Yes. I used cider-test-run-ns-tests
.
Could it be because I added a let
?
(deftest app-test
(testing "ping endpoint"
(let [expected-ping-response {:status 200
:headers {"Content-Type" "text/plain; charset=UTF-8"}
:body "pong"}]
(is (= expected-ping-response
(handler (mock/request :get "/ping")))))))