Scripts should clean up the data created.
脚本应该清理创建的数据。
It is important to clear any data that was created by the automated tests.
把自动化测试所创建的任何数据都清理干净非常重要。
Remnants of test data can wreak havoc for the development team and the functional testers, particularly when they're verifying system data.
For example, if your test script creates an invoice, there should be a corresponding script that deletes the invoice when tests are done.
It is also useful to enable logging within the automated test tool to verify that information was created [and] deleted.
Remnant:残留的
invoice:发票、发货单
本文强调了在自动化测试结束后清理测试数据的重要性,以避免对开发团队和功能测试人员造成困扰。文章举例说明,如测试脚本创建发票后应有对应脚本进行删除,并建议启用自动化测试工具的日志记录功能以验证数据的创建与删除。
4万+

被折叠的 条评论
为什么被折叠?



