I just tried out both lein-difftest and gui-diff and they work just great.
I'd love a `lein test` command that defaulted to the former and could
resort to the latter when things got hairy. But that's just wishful
thinking at the moment :)

Thanks you Sean for the advice as well - the workflow you describe sounds
damn good. Now I'm not sure if I want lein or emacs to drive my tests.
Perhaps a best-of-both-worlds approach is possible.

On Fri, Feb 15, 2013 at 7:11 AM, Sean Corfield <seancorfi...@gmail.com>wrote:

> You'll find your workflow greatly improved by using nrepl (or
> slime/swank) and running tests directly from Emacs - and that applies
> whether you're using bare clojure.test, midje or expectations.
>
> I use expectations for testing and expectations-mode in Emacs. I can
> run an individual namespace's tests with C-c , and it shows the pass /
> fail summary in the minibuffer and highlights any failing tests in
> orange or red (depending on how they failed). It also shows the
> pass/fail summary in the repl buffer. Pretty sure there are equivalent
> modes for both clojure.test and midje.
>
> On Thu, Feb 14, 2013 at 3:06 PM, vemv <v...@vemv.net> wrote:
> > First of all, I must say I'm new to testing in Clojure. My current
> workflow
> > is pretty simple:
> >
> > * Edit + save the tests (which use clojure.test - I hear Midje is better
> > though) in emacs
> > * Run `lein test` in the terminal
> > * recur
> >
> > But then the printed values (triggered when e.g. an `are` case fails) are
> > fairly illegible, especially when big.
> >
> > Can I get the test runner to pprint its output? Is my workflow improvable
> > anyway?
> >
> > Thanks - Victor
> >
> > --
> > --
> > 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
> > Note that posts from new members are moderated - please be patient with
> your
> > first post.
> > 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
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "Clojure" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to clojure+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
>
>
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> --
> --
> 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
> Note that posts from new members are moderated - please be patient with
> your first post.
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to