is there anything available to re-run automatically failed tests?
well actually it might be quite trivial to do if in the test report I know which one failed, and I use kaocha.repl to re-run them
I normally have a seperate term open
and I execute this
clj -M:test -m kaocha.runner --watch
that will reexecute all tests on any file save
ah that's cool but I need retry for CI, since some tests depend on external infra
that can fail sometimes
oh okay. that sounds a bit flakey - can't you mock out the external bits?
I guess it would not make sense for the type of tests to mock anything
it's like having static variables in your codebase with a heisenberg test failure
kk
Those external bits might be directly impacted by the code changing, like triggering a waf accidentally... Just speculating. You're probably right that something like pingdom is a better tool for that though.