Fork me on GitHub
#kaocha
<
2021-02-09
>
plexus05:02:10

@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.

richiardiandrea16:02:44

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

plexus06:02:17

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

richiardiandrea21:02:22

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

plexus07:02:30

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

richiardiandrea16:02:17

checking thank you!

plexus05:02:32

@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.

twashing14:02:14

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

twashing16:02:43

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

Jakub Holý (HolyJak)12:02:44

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!

herald14:02:29

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.