This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-15
Channels
- # beginners (16)
- # cljs-dev (12)
- # clojure (9)
- # clojure-berlin (5)
- # clojure-russia (16)
- # clojure-uk (26)
- # clojurescript (48)
- # community-development (2)
- # cursive (1)
- # data-science (10)
- # datomic (7)
- # emacs (27)
- # figwheel-main (31)
- # fulcro (6)
- # hoplon (47)
- # immutant (1)
- # jobs (1)
- # jobs-discuss (33)
- # off-topic (3)
- # onyx (34)
- # protorepl (5)
- # re-frame (26)
- # reagent (1)
- # reitit (1)
- # shadow-cljs (80)
- # spacemacs (44)
- # specter (4)
- # testing (1)
- # tools-deps (4)
@tony.kay how do you usually test backend queries/mutations? I was thinking i could put all the logic in helper functions then test those
i was wondering if you had any built in support for that? i know only mutations can be intern’ed
or i suppose i could invoke the multimethod that dispatches to them
no built-in support really. As a general rule I find that tests are best with the least amount of entangled stuff...unfortunately, in a dynamic language that means I don't get the "you glued them together reasonably" test of a static type system. Clojure specs help, but I still struggle to get the same quality of test suite in Clojure as I do in Java.