cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Option to print test-output to REPL window

Open thheller opened this issue 8 years ago • 4 comments

My test-workflow consists of running tests via a REPL, usually via Run tests under caret in REPL followed by several Re-Run last test action in REPL. Often I'm not editing another source file (ie. not the file containing the tests) while doing so.

Currently there is no way to tell which assertions failed since Cursive will show those in the editor window and the REPL output usually looks something like this:

Loading test/shadow/cljs/build_test.clj... done
Running shadow.cljs.build-test/test-parse-ns
Ran 1 test containing 7 assertions.
3 failures, 0 errors.

I have to switch to the editor window for the test file to actually see what went wrong. It would be great if there was a way to get the "normal" test output into the REPL window.

This is a normal nREPL connection for Clojure with clojure.test, no CLJS involved.

thheller avatar Dec 07 '15 09:12 thheller