<< March 2011 | Home | May 2011 >>

mockito, spring & AbstractJUnit4SpringContextTests

cleanup resources between unit test executions

I know some people consider it bad practise. But nethertheless I still believe that there is sometimes no alternative to tests that include startup of spring application contexts and initialization of in memory database. Actually I quite like those tests because if I don't include my database layer and my spring application contexts in my test I always have a bad felling about the quality of my software....

Read more...