Suppose I have 5 test cases out of which 3 are grouped in "Smoke Testing" and 2 have not been grouped at all. If I have set priority for all my test cases starting 1 to 5, will cases from smoke testing group be evoked in priority?
@Test (priority=3, groups={"Smoke Testing"}) p v Test1(){} @Test (priority=1, groups={"Smoke Testing"}) p v Test2(){} @Test (priority=2, groups={"Smoke Testing"}) p v Test3(){} @Test (priority=5) p v Test4(){} @Test (priority=4) p v Test5(){}
What will happen if we add another group XYZ and add cases like @Test (priority=2, groups={"XYZ"}) p v Test6(){} @Test (priority=1, groups={"XYZ"}) p v Test7(){}