我正在使用FitNesse和Xebium来记录/运行自动化测试脚本。
我想知道如何改进这些测试脚本,例如删除重复:
|scenario |Given a customer check with status positive|
|start app with customerId|1000001 |
|scenario |Given a customer check with status negative|
|start app with customerId|1000002 |
|scenario |Given a customer check with status error|
|start app with customerId|1000003 |
(......等等)
我觉得这可以放在一张桌子上,但是怎么样?
答案 0 :(得分:0)
我知道这是一个旧帖子,但我相信你可以计划你的验收测试,如下所示
|start app |
|status |given customer|whatever validation?|
|positive|1000001 |works fine |
|negative|1000002 |can not be launched |
|error |1000003 |can not be launched |