1

我们如何对场景进行分组并使用测试运行器运行?我正在使用黄瓜硒,需要对场景进行分组。

4

1 回答 1

-1

类别 - 使用您选择的单元测试框架使用的任何方法(假设您使用的是一种)

Junit https://weblogs.java.net/blog/johnsmart/archive/2010/04/25/grouping-tests-using-junit-categories-0

TestNG http://www.tutorialspoint.com/testng/testng_group_test.htm

Nunit http://www.nunit.org/index.php?p=category&r=2.2

于 2015-05-11T12:50:40.127 回答