emacs - Unit testing Clojure on the fly in a separate frame -


i watching amazing "emacs rocks" video , noticed developers using 2 windows side side 1 window emacs , other window used (nearly) run unit tests. video here (it's looking imo):

http://www.youtube.com/watch?v=zxt-c_n82_w

how can same when working clojure?

what i'd see on screen be:

  • the .clj file i'm editing in buffer
  • one repl
  • one other window (an emacs frame?) see results of unit tests (the unit tests being defined either inside each .clj file test or in separate .clj files, don't care)

ideally i'd have results of unit tests shown in emacs frame regular terminal (as long there's @ least color support).

is doing similar? don't mind shell scripting or elisp'ing or else long allows similar setup unit tests clojure code.

if add lein autotest plugin

  • ctrl-x 2 split pane horizontally
  • ctrl-x 3 split top panel code , test
  • clojure-jack-in put repl in bottom buffer
  • m-x ansi-term in 1 of top panels decent terminal run lein autotest in terminal.

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -