samedi 30 janvier 2016

Do Spring MVC need unit test or just integration test

I'm creating Rest API using Spring Boot (spring mvc, spring-hateoas, spring data jpa, spring-security).

Right now, i start refactoring my code also try to increase code coverage.

What i want to ask, in my controller (Spring MVC) should i write unit test or i just can go with integration test (skip unit test)?

Thanks

Aucun commentaire:

Enregistrer un commentaire