Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用 Hibernate、EclipseLink、OpenJPA 等不同的实现来测试一些 JPA 代码。
我仍在寻找一种优雅的方式来做到这一点,但还没有找到。
但是我想知道实现者没有他们需要执行的某种测试来证明他们的实现符合特定标准(JPA2.1)
你知道是否有像 JPA 这样的测试兼容性工具包,这样我就可以从那里激励自己?
欢迎任何关于我如何在实现之间轻松切换运行测试的建议。
我考虑过使用 Maven 配置文件……但运行主类可能不太好。
谢谢