kaocha icon indicating copy to clipboard operation
kaocha copied to clipboard

Enable a default test suite or suites in the configuration file

Open chadharrington opened this issue 5 years ago • 1 comments

By default, running bin/kaocha runs all test suites. This is undesirable when some test suites are expensive or require specific environments, etc. It would be great to be able to configure which test suite or suites should run as the default when no test suite name is passed.

Leiningen does this via the :test-selectors key in project.clj.

chadharrington avatar Jan 17 '19 17:01 chadharrington

Leiningen test selectors aren't quite the same thing, as lein-test doesn't have the concept of test suites, but nevertheless I agree this could be useful.

A simple :kaocha/default-suites key which defaults to the ids of all test suites would do the trick.

plexus avatar Jan 18 '19 02:01 plexus

The plan is to solve this via test selections, see #364

plexus avatar Jan 25 '23 10:01 plexus