kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
2020-12-15T12:33:46.314200Z

mm another thing that I noticed now, is that if the exception is thrown outside of an is, and before any isassertion

2020-12-15T12:33:59.314700Z

the test will report saying that there are no assertions

2020-12-15T12:34:21.315400Z

which I guess makes sense but is a bit confusing since the assertions are there, they are just never reached

2020-12-15T12:34:54.316400Z

these tests that are causing so much trouble are the selenium like tests, and when something fails it normally just times out and throws an exception

2020-12-15T12:35:00.316800Z

and the few assertions are just at the end

2020-12-15T13:18:21.318Z

anyway I guess this problem is not really related to the retry plugin

plexus 2020-12-15T13:28:19.319700Z

Yeah for these kinds of tests it should be possible to disable that check, not sure if we already have an issue for that. See also the kaocha/v2 wish list, this is something that could be opt-in

2020-12-15T15:06:09.319900Z

ah yeah cool

2020-12-15T15:06:23.320400Z

btw I added some cli-options but they never show up in the help

(cli-config [opts]
    (conj opts
          [nil "--[no-]retry" "Retry tests"]
          [nil "--max-retries" "Number of times to retry the tests"
           :parse-fn #(Integer/parseInt %)]
          [nil "--retry-interval" "How many milliseconds to wait before retrying"
           :parse-fn #(Integer/parseInt %)]))

2020-12-15T15:06:34.320700Z

either with the plugin enabled globally or enabled with --plugin