kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
plexus 2020-01-17T09:02:06.001100Z

@delaguardo you didn't mention you were using custom compiler options and precompile? true. You're pretty much on your own in that case. Taking those lines out of your tests.edn your suite runs fine over here.

plexus 2020-01-17T09:02:38.001300Z

dev@autopair:~/kaocha-cljs-problem$ npm install ws
npm WARN kaocha_cljs_problem@0.0.0 No description

+ ws@7.2.1
added 1 package from 1 contributor and audited 1 package in 0.966s
found 0 vulnerabilities

dev@autopair:~/kaocha-cljs-problem$ bin/kaocha 
[()][(.)]
1 tests, 1 assertions, 0 failures.

2020-01-17T09:28:17.002400Z

https://github.com/DeLaGuardo/kaocha-cljs-problem/runs/394879872 right, now it is working in GH action but on my mac I’m still getting “client failed connecting back” exception

plexus 2020-01-17T12:20:47.002900Z

is anyone here succesfuly using kaocha-cljs + node on mac? (looking for some data points)

plexus 2020-01-17T15:36:25.004200Z

managed to get an os x vm running 😎 , after a brew install clojure / brew install node / npm install ws it does seem like kaocha-cljs is working, so it's not a blanket os x issue

2020-01-22T17:01:15.028300Z

Just managed to run in browser with this configuration: https://github.com/lambdaisland/kaocha-cljs/blob/master/src/kaocha/type/cljs.clj#L458

2020-01-22T17:04:23.028600Z

While CLI still throws different kinds of error

2020-01-22T17:31:44.028800Z

Looks like I'll end up developing inside Docker container instead 😁

2020-01-17T17:35:23.004900Z

one addition - I’m using nvm to manage multiple node versions on one system

2020-01-17T21:19:03.007100Z

I'm trying to set up lein + cljs + kaocha. when I run bin/kaocha, no test is found. I've added a kaocha profile and my tests are in the source-paths. kaocha.repl/test-plan outputs this:

{:kaocha.test-plan/tests
 ({:kaocha.test-plan/tests (),
   :kaocha.plugin.randomize/sort-key 138441634,
   :kaocha/test-paths ["test/cljs"],
   :kaocha/ns-patterns [".*"],
   :kaocha.filter/focus-meta #{},
   :kaocha.filter/skip-meta [:kaocha/skip],
   :kaocha.testable/type :kaocha.type/clojure.test,
   :kaocha/source-paths ["src"],
   :kaocha.testable/desc "unit-cljs (clojure.test)",
   :kaocha.testable/id :unit-cljs}),
 :kaocha/fail-fast? false,
 :kaocha.filter/focus-meta #{},
 :kaocha/color? true,
 :kaocha/cli-options {:config-file "tests.edn"},
 :kaocha.plugin.randomize/seed 807058495,
 :kaocha.plugin.randomize/randomize? true,
 :kaocha/plugins
 [:kaocha.plugin/randomize
  :kaocha.plugin/filter
  :kaocha.plugin/capture-output],
 :kaocha.plugin.capture-output/capture-output? true,
 :kaocha/reporter [kaocha.report/dots]}
does anyone have any pointer?