Lezione corrente | Lezione 10/20

Java Testing 10/20 - Testare Controller REST con Spring Boot, @WebMvcTest e MockMvc

Java Testing Completo: JUnit 5, Mockito e Spring Boot (Guida Pratica Backend) 0%
Iniziamo a testare i Controller REST di Spring Boot: ti mostro cos'è @WebMvcTest, come usare MockMvc per simulare chiamate HTTP nei test e verificare le response senza avviare l'intero contesto applicativo.
Docente
Prossima lezione Java Testing 11/20 - Test Controller REST: gestione errori e status HTTP - PT2