jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
562 stars 50 forks source link

clojure.test visual output #18

Open jasongilman opened 8 years ago

jasongilman commented 8 years ago

The Cursive editor offers really great clojure.test integration See https://cursiveclojure.com/userguide/testing.html . The existing Proto REPL test integration just shows the clojure.test output in the REPL. Cursive has the right idea here and Proto REPL (PR) should emulate it.

PR can capture the output of clojure.test and record it in a format that can be used by the editor. Atom allows adding text editor decorations including gutter icons. When running just a single test file PR can add the annotations to show what failed and what passed. PR can also highlight the specific parts of the test that are currently running.

wnr commented 7 years ago

This feature would be great to have. Emacs cider does this too, it might be worth looking at since it is open source.