本文参考与
1: https://www.iteye.com/blog/hedajia-2208403
JUNIT参数化测试,遇到的诡异问题
No tests found matching Method 测试方法名(测试类名) from org.junit.internal.request.ClassRequest@ibdecc21
解决方案:
重写 org.junit.runner.Parameterized
代码如下
public class B2bParameterized extends Parameterized {
public B2bParameterized (Class<?> klass) throws Throwable {
super(klass);
}
public void filter(Filter filter) throws NoTestsRemainException {
super.filter(new FilterDecorator(filter