1. 首页
  2. 数据库
  3. 其它
  4. testing with spring boot:解释如何使用Spring Boot测试应用程序的存储库 源码

testing with spring boot:解释如何使用Spring Boot测试应用程序的存储库 源码

上传者: 2021-02-17 23:36:44上传 ZIP文件 81.24KB 热度 16次
使用Spring Boot 1.5进行测试 该存储库包含用于演示对新的Spring Boot 1.5测试支持的用法的代码。 特别是它显示了以下用途: 断言 @LocalServerPort通过 @RestClientTest通过 @JsonTest通过 @DataJpaTest通过 @MockBean和@WebMvcTest通过 @WebMvcTest使用Selenium和通过的HtmlUnit 和 TestRestTemplate通过 @Rule OutputCapture通过@Rule OutputCapture
下载地址
用户评论