title: How can I combine @DataJpaTest @SpringBootTest in one MVC application for testing every layer?
body: <p>Here <a href="https://stackoverflow.com/a/52968130/10894456">https://stackoverflow.com/a/52968130/10894456</a>  is well explained why @DataJpaTest @SpringBootTest shouldn't be mixed in one application. </p>
  
  <p>But barely explained the case when anyway need to test every layer of MVC SpringBoot application (from my point it's natural to test not only one or only another layer but both and even all layers, isn't it?) </p>
  
  <p>So there was suggested a solution to use @AutoConfigureTestDatabase rather than @DataJpaTest but didn't finish the job (((</p>
  
  <p>So my question is: is using @AutoConfigureTestDatabase an appropriate solution? If yes, please explain details. If no, please suggest more appropriate solution, thank you</p>