Fork me on GitHub
#kaocha
<
2022-11-01
>
mpenet09:11:54

is there a way via the config file to make :unit the default suite to run

Leo Poulson09:11:28

I don’t think so; see https://github.com/lambdaisland/kaocha/issues/31 which tracks implementation of this.

mpenet09:11:42

otherwise is there a way to exclude a suite from the default test run?

Leo Poulson09:11:50

i don’t think so. the way I have got around this problem is by using profiles over test suites. kaocha will use the :default profile by default, so you can just exclude the tests you don’t want to run from the :default profile.

mpenet10:11:30

that could indeed work, thanks!

plexus14:11:29

interesting workaround, thanks for sharing!

mpenet09:11:05

instead of all tests

mpenet15:11:07

is there a way to have the tests (deftests) run in order they are declared ? I am trying to use kaocha for something it might not be a good fit actually, but wondering

mpenet15:11:23

according to the docs: --no-randomize, but the equivalent config param doesn't seem to get picked up

mpenet15:11:06

nm, I think my pre-test might be messing with the plan