@allentiak first result for me points to https://github.com/ring-clojure/ring/wiki/Setup-for-development#setup-using-boot
Thanks! I already read it π
I was looking for something a little bit more deep, with boot-specific hints π
Not sure what hints you are looking for? There is also https://github.com/danielsz/system-api-example
Thanks!
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)
I have to do it manually from the terminal, with boot test
But thanks for your reply, @nha!
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)
That should not be an issue (but it very easy to test that hypothesis in any case)
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")))))))