On Dec 11, 2012, at 12:38 PM, Timothy Baldridge <[email protected]> wrote:
> For a project I'm working on it would be awesome to have my tests auto-rerun
> after every file change. I know lazy test exists, but it doesn't work with
> Lein2 it seems.
(defproject ...
:profiles {:dev {:dependencies [[midje "1.4.0"]
[com.stuartsierra/lazytest "1.2.3"]]
:plugins [[lein-midje "2.0.3"]]}}
:repositories {"stuartsierra-releases" "http://stuartsierra.com/maven2"})
$ lein midje --lazytest
I just tried this and it works.
The 1.5 version of Midje will add autotesting to the new repl tools, and lein
midje will then be changed to use that. At that point the old dependency on
lazytest will go away.
--------
Occasional consulting on programming technique
Contract programming in Ruby and Clojure
Latest book: /Functional Programming for the Object-Oriented Programmer/
https://leanpub.com/fp-oo
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en