kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
2021-05-12T01:38:13.083600Z

We have also run up against similar problems in our monorepo

➕ 2
2021-05-12T01:38:39.084200Z

we are currently using metadata and just testing a namespace at a time

2021-05-12T01:38:46.084600Z

but full regex support would be nice

Alys Brooks 2021-05-12T22:19:25.086500Z

@kenny @royalaid Thanks for clarifying! The suggested solution right now would be to have an organizational scheme where one folder = one namespace and select or skip based on namespace.

Alys Brooks 2021-05-12T22:21:59.088800Z

Oh, you can also create separate profiles with different :ns-patterns , :test-paths or :source-paths . If you have a lot of directories or namespaces or want a more on-the-fly option, that may not work either, but if you consistently want to run just a particular directory, that could work.

Alys Brooks 2021-05-12T22:24:24.090900Z

Because we already support regexes in :ns-patterns and through :kaocha.watch/ignore, I think adding regex support to allow skipping tests makes sense. What would you want the regex to match against? The test name, the qualified name, something else?