junit4参数化测试中,代码没问题,但是在测试的时候出现了错误

2025-05-19 08:59:05
推荐回答(1个)
回答1:

在你的testcase类上面加上 @RunWith(Parameterized.class) 就可以了