boot

:boot-clj: https://boot-clj.github.io/ β€” build tooling for Clojure. Dev chat in #boot-dev
allentiak 2019-07-23T14:37:21.007200Z

Thanks! I already read it πŸ™‚

allentiak 2019-07-23T14:37:48.007800Z

I was looking for something a little bit more deep, with boot-specific hints πŸ™‚

2019-07-23T14:39:08.009500Z

Not sure what hints you are looking for? There is also https://github.com/danielsz/system-api-example

allentiak 2019-07-23T14:40:36.009800Z

Thanks!

allentiak 2019-07-23T14:41:35.010900Z

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)

allentiak 2019-07-23T14:41:53.011300Z

I have to do it manually from the terminal, with boot test

allentiak 2019-07-23T14:46:58.011700Z

But thanks for your reply, @nha!

2019-07-23T14:48:58.012800Z

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)

2019-07-24T09:48:49.013700Z

That should not be an issue (but it very easy to test that hypothesis in any case)

allentiak 2019-07-23T17:06:45.013100Z

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")))))))