spring - 与 Spring Boot 等效的 Arquillian Persistence
问题描述
我正在将 Java EE 应用程序迁移到 Spring Boot。
集成测试使用 Arquillian Persistence 为数据库播种并最终检查结果:
@Test
@UsingDataSet({"datasets/user.yml", "datasets/person-address.yml"})
@ShouldMatchDataSet("expectations/address/person-addresses-after-insert.yml")
public void postMethodShouldCreateAddress() throws Exception {
我喜欢离开 Arquillian。Spring Boot有什么等价物吗?
解决方案
推荐阅读
- r - 正则表达式:匹配同一字符串的部分但不包括特定部分
- sql-server - 处理来自存储过程的数据返回多个表
- java - 我的应用程序图标未在某些设备上显示 - 为什么?
- python - 如何将数组转换为模型输入?
- postgresql - 单元测试代码:= 运行时错误:无效的内存地址或 nil 指针取消引用
- java - 如何在事务开始之前或提交之前执行操作?
- java - 在设备上或从底栏按下返回按钮时,不会调用 onBackPressed
- sql - 如何在 SQL 的列中随机分配一组值?
- php - 如何显示 PHP 内部 web 服务器的介绍文本
- xamarin - 有关从 Xamarin Forms 应用程序获取用户评论的方式的任何建议。可能使用 appcenter.ms 的东西?