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

@corasaurus-hex 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

Cora10:01:24

thanks, I'll check it out :)

practicalli-john16: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-john16: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

Cora16:01:12

I do use cider but I'm also running tests in babashka and don't want to work out using a socket repl instead of nrepl with emacs

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