Finally, an experiment of the reuse Oriented Test Case reuse is designed.
最后,设计了一个面向复用的测试用例的复用案例。
By placing parametric data in TestNG's XML configuration files, you can reuse a single test case with different data sets and even get different results.
通过在TestNG的XML配置文件中放入参数化数据,就可以对不同的数据集重用同一个测试用例,甚至有可能会得到不同的结果。
Fortunately, I can reuse the test case defined in Listing 3 to validate the document's structure, by effectively ignoring element text values and attribute values.
还好,我还可以再次使用清单3中定义的测试用例来验证文档的结构,并可以有效忽略元素文本值和属性值。
应用推荐