Run Multiple test classes using testNG.xml with different priority
问题 I am trying to run multiple test classes using testNG .xml file Class A ''' @Test( priority = 1 ) public void testA1() { System.out.println("testA1"); } @Test( priority = 2 ) public void testA2() { System.out.println("testA2"); } @Test( priority = 3 ) public void testA3() { System.out.println("testA3"); } Class B ''' @Test( priority = 1 ) public void testA1() { System.out.println("testA1"); } @Test( priority = 2 ) public void testA2() { System.out.println("testA2"); } @Test( priority = 3 )