我想知道填写内存数据库以测试测试数据的最佳方法是什么 - 如何管理这些数据,如何制作简单的插入脚本,什么是支持这个的好工具......
One possible approach is the one taken by DbUnit , which offers classes to export and import table content to and from XML files. You can use it to (re-)load your tables with a predetermined set of test data.
I see two approaches:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.