Fork me on GitHub
#tools-deps
<
2020-01-08
>
plexus08:01:51

@deleted-user you might want to look into Kaocha. It was conceived as a test runner for deps.edn that's less spartan than the cognitect runner

practicalli-johnny16:01:09

If your editor has a test runner, eg. CIDER for Emacs, then you only need to ensure the 'test' directory is included in the path. You can add it to :path or as an alias.

practicalli-johnny16:01:59

I tend to switch betweeen cognitect-labs test runner and eftest (weavjester). I also am trying out Kaocha as its very comprehensive. I have test-runner aliases in my $HOME/.clojure/deps.edn file https://github.com/practicalli/deps-edn-examples/blob/master/deps.edn#L114-L137

plexus17:01:39

Can you elaborate a bit on how you run tests in babashka? What would you expect from a test runner in that environment?

borkdude17:01:10

We can take this to #babashka

borkdude17:01:46

Bit of context: this is an intermediate lib for running tests until bb gets clojure.test: https://github.com/borkdude/spartan.test