当您有多个@Test Annotation 时,谁能告诉我Junit 中@Test 注释的评估顺序是什么?我正在尝试以下示例,但没有找到任何特定顺序。您可以考虑以下示例来解释您的答案。
package test_Cases;
import org.junit.Test;
public class First_test_case {
@Test
public void apsTest(){
System.out.println("THIS IS FIRST TEST CAES.");
//selenium code
}
@Test
public void appletestTest(){
System.out.println("THIS IS second TEST CAES.");
//selenium code
}
@Test
public void aboutestTest(){
System.out.println("THIS IS third TEST CAES.");
//selenium code
}
@Test
public void dtestTest(){
System.out.println("THIS IS fourth TEST CAES.");
//selenium code
}@Test
public void etestTest(){
System.out.println("THIS IS fifth TEST CAES.");
//selenium code
}@Test
public void ftestTest(){
System.out.println("THIS IS sixth TEST CAES.");
//selenium code
}
}