Can anyone tell me what is the order of evaluation of @Test annotation in Junit when you have multiple @Test Annotation? I was trying with the following example but didnot find any specific order.You may consider the following example to explain your answer.
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
}
}