如何使用junit5和testcontainer测试存储库? 我有一个示例项目,其中我尝试了不同的技术. 我有以下设置: Spring Boot 2.3.4.RELEASE Flyway 7.0.1 测试容器1.15.0-rc2 Junit 5.7.0 如何使用testcontainer-junit5测试存储库层? 我现在为CompanyRepositoryTest.java提供的代码示例: @ExtendWith(Spr .. 发布时间:2021-02-14 19:30:11 spring-boot repository-pattern junit5 testcontainers testcontainers-junit5 其他开发