There are significantly more productive ways to work, but they'll require
you to know your environment well.

I work in emacs with 2 repls running - 1 for running my app and 1 for
running my tests. I use emacs-live[1], the unplugged-pack[2], &
expectations[3] for my tests. In emacs 'switch projects' via a command
defined in unplugged-pack, then I M-x expectations-repl to have a
expectations dedicated repl.

The result:
C-c C-k loads any changes I make in a buffer into the running environments.
I can navigate to any expectations test ns and run all of the tests with
C-c C-, - there's no start and stop other than at the beginning. Any
changes I make and C-c C-k will be immediately reflected in both my running
application and in the tests. I don't find myself ever waiting for
feedback, in fact, I strongly believe my current workflow is faster than
any TDD workflow I've used in the past.

The learning curve is steep, but the payout is large.

[1] http://overtone.github.io/emacs-live/
[2] https://github.com/jaycfields/unplugged-pack
[3] http://jayfields.com/expectations/


On Wed, Jul 10, 2013 at 1:36 PM, Brian Craft <craft.br...@gmail.com> wrote:

> The clojure start-up time is killing me, while working in a tight
> edit-test-edit development loop. Is there any way to speed this up? E.g.
> could the edited code be dynamically loaded, and the test suites run w/o
> restarting the jvm? I have previously experimented with nailgun for
> starting the repl, without much success. I suspect it's the clojure
> start-up time, not the jvm, that's taking so long, but I know next to
> nothing about the jvm and clojure start-up procedures.
>
> --
> --
> 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