web:framework:spring:tests

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
web:framework:spring:tests [2023/12/18 08:38] – [Dépendances pom.xml] jcheronweb:framework:spring:tests [2023/12/18 08:45] (Version actuelle) – [Autorisations] jcheron
Ligne 73: Ligne 73:
  
 Mocking : Mocking :
-  * Serveur : <wrap round box>MockMvc</wrap> +  * Serveur : <wrap round box>@MockMvc</wrap> 
-  * Service HelloService : <wrap round box>MockBean</wrap>+  * Service HelloService : <wrap round box>@MockBean</wrap>
  
  
Ligne 183: Ligne 183:
 Mocking : Mocking :
  
-  * Serveur web (MockMvc) +  * Serveur web <wrap round box>MockMvc</wrap> 
-  * Roles/Users (WithMockUserWithAnonymousUser)+  * Roles/Users <wrap round box>@WithMockUser</wrap> <wrap round box>@WithAnonymousUser</wrap>
  
 <sxh java;title:SecureApplicationTests.java> <sxh java;title:SecureApplicationTests.java>
  • web/framework/spring/tests.1702885128.txt.gz
  • Dernière modification : il y a 16 mois
  • de jcheron