Fork me on GitHub
#kaocha
<
2019-07-24
>
denis_krivosheev16:07:06

Hello everyone. Thank you for the awesome library! Could you please help me a little bit? I’ve noticed that you have kaocha-cljs and also a plugin to run spec tests (for me this is the killer feature). But I am unable to run spec tests in clojurescript environment. Is it possible?

PB16:07:45

Kaocha-cljs does not appear to pick up any of my cljs tests. However, kaocha seems to find my clj test. Any idea what this could be? I have specified the paths in my tests.edn file and have added the paths to deps.edn using :extra-paths. Any idea what this could be?

zane16:07:16

What does your tests.edn look like?

PB16:07:19

#kaocha/v1
{:tests [{:id :clj
          :test-paths ["test/clj"]}
         {:id :unit-cljs
          :test-paths ["test/cljs"]
          :bindings {kaocha.type.cljs/*debug* true}}]}

zane17:07:34

Might need a :type :kaocha.type/cljs on that second map?

PB19:07:10

That seems to have helped! Now i'm getting a no such namespace error, however, I think that might be solved with the paths in the deps.edn file

aengelberg20:07:23

How do you pronounce kaocha?

jvtrigueros02:07:27

My wife claims that it's a Chinese word, given that Google Translate might help: https://translate.google.com/#view=home&amp;op=translate&amp;sl=auto&amp;tl=en&amp;text=kaocha

plexus08:07:37

yes, it's a Chinese word. 考察. Kao rhymes with "wow!", cha is like in "cha cha cha", or "macha" (the japanese tea)

plexus08:07:55

it's actually kind of a pun as there are two related homonyms, 考查 to check and 考察 to investigate analyze

aengelberg23:07:23

thank you both!

pithyless16:07:34

@U07FP7QJ0 maybe the pronunciation tip and etymology could end up somewhere in the README? :]