That's really nifty, Phil!  I'll have to check it out.
-Stuart Sierra

On Feb 18, 7:07 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> I've been cooking up a little tool to help with running tests using
> test-is. It's a little cumbersome to need to switch back and forth
> between the test buffer and the repl to see the test results, so I've
> created an Emacs mode that actually overlays the results on top of the
> test buffer itself.
>
> I've attached a screenshot of it in action. Basically it colors failing
> "is" forms in red and erroring forms in brown. When you put the point in
> a failing "is" form and press C-c ', it will show the failure message in
> the minibuffer.
>
> I find it to be very useful when writing tests to be able to get instant
> feedback. And if it's easier to write tests, hopefully that means more
> tests will get written. =)
>
>  http://github.com/technomancy/clojure-mode/blob/ef0f8f73a1b282aa28d16...
>
> Please try it out if you use SLIME and let me know how it works for
> you. One serious caveat is that swank-clojure hasn't been updated to
> work with clojure-trunk yet, so you'll need to use slightly older
> versions of everything. Here's what I've got:
>
> Clojure: git://github.com/kevinoneill/clojure.git revision d866f14
> Contrib: git://github.com/technomancy/clojure-contrib.git revision 4802d99
> Swank-clojure: git://github.com/jochu/swank-clojure.git revision 581954d
> SLIME: git://github.com/nablaone/slime.git revision 5b8cb89
>
> Hopefully the dust will settle soon, but for you've got to step lightly.
>
> -Phil
>
>  clojure-test-mode.png
> 59KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to