0
我有一个场景,我想在同一个测试中为2个不同的组使用2个不同的值。是否可以使用组内测试
像让说
@Test(groups = ["Abc", "Def"])
void testPqr() {
int i
// Is there a way to do something like below in TestNG
if (@groups ="abc") {
i=10
}
if {@groups ="Def"} {
i=15
}
}
是否有可能使用一组内部测试?