Clojurians
#kaocha
<
2018-11-09
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

tony.kay01:11:14

nice tool…but I’m getting a ton of this on the console when I run tests:

{:kaocha/testable {:kaocha.var/test #object[fulcro.incubator.mutation_interface_test$fn__22519 0xe006447 "[email protected]"], :kaocha.plugin.randomize/sort-key -177746591, :kaocha.var/wrap [#object[kaocha.plugin.capture_output$eval2379$fn__2380$fn__2393$fn__2395 0x1a763008 "k[email protected]1a763008"]], :kaocha.testable/meta {:test #object[fulcro.incubator.mutation_interface_test$fn__22519 0xe006447 "[email protected]"], :line 21, :column 1, :file "fulcro/incubator/mutation_interface_test.clj", :name declaring-mutations, :ns #object[clojure.lang.Namespace 0x2dd60c70 "fulcro.incubator.mutation-interface-test"]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name fulcro.incubator.mutation-interface-test/declaring-mutations, :kaocha.plugin.capture-output/buffer #object[java.io.ByteArrayOutputStream 0x5ba0e0b4 ""], :kaocha.var/var #'fulcro.incubator.mutation-interface-test/declaring-mutations, :kaocha.testable/desc "declaring-mutations", :kaocha.testable/id :fulcro.incubator.mutation-interface-test/declaring-mutations}, :kaocha/test-plan {:kaocha.plugin.randomize/seed 1453588471, :kaocha.plugin.randomize/randomize? true, :kaocha/reporter #object[kaocha.api$resolve_reporter$fn__2962 0x7208872a "[email protected]
...

tony.kay01:11:24

any idea how I can get that to not happen???

tony.kay01:11:41

I’ve tried alternate reporters and such..but no matter what I do I get a ton of crap output

plexus04:11:02

Hi @tony.kay, could you put the full output in a gist somewhere? It's probably an event type that's not understood by kaocha, which gets forwarded to clojure.test, which just prints out the full event map

tony.kay16:11:28

ah, yes, the testing library I’m using emit extra events…I installed the reported for it, and the reporter works fine (and gets the extra events), but they still go to stdout…is kaocha proxying the events somehow?

plexus22:11:52

Which library is this? Would be interesting to see what they do. Kaocha forwards any events it doesn't understand to clojure.test/report, assuming that that multimethod was extended to handle them. If not then it falls back to printing out the event map. You can stop kaocha from doing this using (kaocha.hierarchy/derive! :your-key :kaocha/known-key)

plexus22:11:40

@tony.kay

tony.kay23:11:26

fulcro-spec @plexus