需要引入:
import org.junit.Test;
使用时,只需要在方法上加上@Test
即可
import org.junit.Test;
public class Root {
@Test
public void test(){
System.out.println("使用测试接口类");
}
}
需要引入:
import org.junit.Test;
使用时,只需要在方法上加上@Test
即可
import org.junit.Test;
public class Root {
@Test
public void test(){
System.out.println("使用测试接口类");
}
}