Sind MockMvc von Spring für Komponententests oder Integrationstests geeignet?
Spring hat 2 Setups für den MockMvc:
Standalone-SetupWebApplicationContext setupIm Allgemeinen für welche Art von Tests wird MockMvc verwendet? Einheit oder Integration? oder beides
Habe ich recht damit, dass Sie mit dem Standalone-Setup (das außerhalb des Spring-Anwendungskontexts ausgeführt wird) Komponententests schreiben können und mit dem WebApplicationContext-Setup Integrationstests schreiben können?