Fork me on GitHub
#testing
<
2018-02-16
>
Jacob Haag16:02:17

Hey everyone, my name is Jacob and I have been given the task to test our Clojurescript applications. Currently, we are using "Doo" as our test runner and "Phantom JS" as our environment. One thing I have not been able to find a solution to is how to report our test results (other than just in the cmd). I know there are certain libraries available for formatting test results into JUnit test results but I have not been able to find any that integrate well with the "Doo" runner and "Phantom JS" environment. We would like to avoid using Karma and stick to Phantom JS. Does anybody have any recommendations for a solution to report clojurescript test findings?

gadfly36121:02:53

+1 also interested in this

raul.guajardo21:02:31

+1 also interested

raul.guajardo21:02:42

Is testing only clojure code a good idea if it contains the bulk of the logic? If all clojurescript does in this case is render components with reagent does it need tests? Hopefully I can get some insight from someone more experienced at the topic

seancorfield21:02:16

@jacobhaag17 Have you asked in #clojurescript ? I think there are a lot more cljs people in there who could answer...

raul.guajardo21:02:39

@seancorfield I think the question is there but it got drowned out from what it looks like, will try again there tomorrow

seancorfield21:02:10

Yeah, I can imagine it's quite a chatty channel...