-1

All tests should run isolated.

If you start to keep the JVM up for each test method you can really
get some strange and subtle side effects with testing.


On Fri, Mar 5, 2010 at 11:52 AM, Christian Schneider
<[email protected]> wrote:
> Hi all,
>
> I am currently debugging a little in the tests for jetty because I got an
> error in a test.
> While doing so I found out that the camel context or even the spring context
> is (re)started for each test method. Wouldn´t it be much more efficient to
> do this only per class?
> I guess the tests could take less then half the time after this change. What
> do you think?
>
> Greetings
>
> Christian
>
> --
>
> Christian Schneider
> ---
> http://www.liquid-reality.de
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to