kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
2020-08-20T12:58:11.009300Z

so koacha junit tests w/ timing appear to report tests that it doesn’t run as having ran in 0 seconds. For example I use (kaocha.repl/run (conj (vec split) opts) where split is list of :kaocha.testable/id ’s of type :kaocha.type/var , the junit output will have :kaocha.testable/id listed that aren’t in my split. I was looking to fix this and test my fix locally, so i cloned the kaocha-junit repo, but couldnt find a way to get deps.edn and lein checkouts to work properly. I guess this is more a question about deps, but how would I build one of these kaocha-junit so lein can see it?

plexus 2020-08-20T15:00:33.009400Z

Cool!!! Would you be able to share the code?

plexus 2020-08-20T15:05:47.011800Z

Hi @tavistock, we're migrating all lambda island projects to build tooling that should make this easy. I don't think kaocha-junit is migrated yet but I can do that tomorrow (I think). Meanwhile a mvn install might be enough to build and install a version locally

1🙏
plexus 2020-08-20T15:50:35.013200Z

Lein checkouts are pretty terrible tbh, that's one big reason to switch to deps.edn

borkdude 2020-08-20T16:00:16.013600Z

If deps.edn isn't an option, git submodules work. I'm not saying I love them, but they fit my purpose.

borkdude 2020-08-20T16:03:47.014300Z

Especially when you have multiple of them, one git pull --recurse-submodules brings them up to date, without having to change all kinds of build files and git SHAs

reefersleep 2020-08-20T16:13:00.014500Z

Sure 🙂 I could make a repo that does only this, with code annotations and a README that explains how to work with it. Maybe others would find that handy.

reefersleep 2020-08-20T16:14:13.014700Z

In that case, did you make is so that :post-summary is available from the REPL? That would remove what would otherwise be a small blemish in the ease of understanding how to work with it.