We have also run up against similar problems in our monorepo
we are currently using metadata and just testing a namespace at a time
but full regex support would be nice
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.
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?