reveal

vlaaad 2022-02-15T20:46:11.633119Z

Here is an early alpha preview of a test runner, featuring: • live progress reporting • unified output that tracks assertions (red/green) and prints (grey) in a test context • easy test selection (include/exclude filters) ...a lot of stuff is yet TBD

imre 2022-02-15T20:52:48.514679Z

I wonder if integration with external runners, like kaocha would be possible?

vlaaad 2022-02-15T20:54:11.180559Z

not really, it's an alternative runner that needs to run tests in a certain way for UI to be able to live-report

vlaaad 2022-02-15T20:54:29.951339Z

what kind of kaocha integration do you have in mind?

imre 2022-02-15T21:00:34.516839Z

Well, kaocha itself was created to be a rather flexible test runner with plugins etc. and I really like that its only focus is to do this one thing reasonably well. Among others it can discover all sorts of tests other than clojure.test ones, and even this property of it is extensible with plugins. For example, there is one plugin that looks at your source and if it discovers a function that has a function spec, it will run generative tests against it. Its pluggability makes it really nice to use with CI, we use it too. And given that it's out there and its focus is on discovering and running tests, I would most likely use it if I were to work on something that primarily focuses on something else, like visualizing stuff.

imre 2022-02-15T21:04:08.718729Z

And on the user side if I rely on more exotic tests discovered by kaocha in ci, a tool that doesn't discover all of those locally can only be partially useful for running tests

imre 2022-02-15T21:05:04.669299Z

Just an idea though, I'm not sure what your plans are with this

imre 2022-02-15T21:07:04.900619Z

I made pretty much https://github.com/polyfy/polylith/issues/126#issuecomment-913626683 to the polylith folks some time ago but it hasn't been adopted (yet?) so I might be alone with this idea

imre 2022-02-16T10:34:38.959239Z

BTW kaocha also has extensible https://cljdoc.org/d/lambdaisland/kaocha/1.63.998/doc/cli-reporter-option