kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
plexus 2021-02-09T05:15:10.013800Z

@richiardiandrea we need to load all namespaces to know which tests have which metadata, not much to be done about that. You can use a hook/plugin if you want to add some heuristics.

richiardiandrea 2021-02-09T16:26:44.019100Z

probably the best is then to move them to another folder outside the classpath and include via deps.edn

plexus 2021-02-10T06:20:17.020100Z

You may then also have to turn off kaocha's classpath handling, or it will try to add any test-paths to the classpath itself

richiardiandrea 2021-02-11T21:04:22.032900Z

I have noticed that yes, it still loads everything, even with test-paths ["test/database"] - am I missing some configuration?

plexus 2021-02-12T07:00:30.033100Z

yes, I thought we had documented this but apparently it's only mentioned in the CHANGELOG. I added a section to the docs: https://github.com/lambdaisland/kaocha/pull/196/files

richiardiandrea 2021-02-16T16:29:17.040200Z

checking thank you!

plexus 2021-02-09T05:16:32.015100Z

@twashing I commented on the issue. There's a lot of fine print to be aware of when dealing with npm/js dependencies in clojurescript.

twashing 2021-02-09T14:40:14.017800Z

Hey @plexus Thanks for responding. I’m responding to your feedback on the GH thread.

twashing 2021-02-09T16:15:43.018900Z

Essentially, how do we use deps.edn + clojurescript, to include npm dependencies?

richiardiandrea 2021-02-09T05:18:54.015200Z

thank you!

Jakub Holý 2021-02-09T12:14:44.016500Z

Hello! I need to know which of my tests take so much time. How to do that? Is there some reporter/option for printing durations of each tests or something? Thank you!

uosl 2021-02-09T14:24:29.017700Z

Does anyone use kaocha-cljs with cljs.repl.browser/repl-env in a CircleCI machine executor? Using the /usr/bin/google-chrome-stable --no-first-run trick from the README, it works in a docker executor, but on an ubuntu machine executor it fails to connect.