(九)TestNG 用例参数化
参数化也测试用例中常用的技巧之一,它可以增加用例的可配置性和减少相同用例的编写。
通过 @Parameters 实现参数化
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import static org.testng.AssertJUnit.assertEquals;
public class
参数化也测试用例中常用的技巧之一,它可以增加用例的可配置性和减少相同用例的编写。
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import static org.testng.AssertJUnit.assertEquals;
public class