jeudi 20 août 2015

How to optimize tests

I am currently working on a Spring MVC project. We were asked to find ways to reduce execution time for tests. For validators tests, the solution was easy: remove context and use Mockito and the time dropped considerably. Now the problem is with the repository tests. I can't proceed in the same manner as the repository needs a context.

What do you suggest?

Aucun commentaire:

Enregistrer un commentaire