Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PowerMockRunner.class需要什么Maven依赖关系_Maven_Powermock_Junit5 - Fatal编程技术网

PowerMockRunner.class需要什么Maven依赖关系

PowerMockRunner.class需要什么Maven依赖关系,maven,powermock,junit5,Maven,Powermock,Junit5,我的测试用例包括以下行 @RunWith(PowerMockRunner.class) 在升级到JUnit5(Jupiter)之前,我导入了以下内容 import org.powermock.modules.junit4.PowerMockRunner; 但是现在有了Junit的更高版本,我找不到要导入的依赖项来将PowerMockRunner合并到我的测试用例中 我请求Maven坐标(groupId和artifactId),这将允许我将这个类合并到我的测试用例中 看起来PowerMock还

我的测试用例包括以下行

@RunWith(PowerMockRunner.class)
在升级到JUnit5(Jupiter)之前,我导入了以下内容

import org.powermock.modules.junit4.PowerMockRunner;
但是现在有了Junit的更高版本,我找不到要导入的依赖项来将PowerMockRunner合并到我的测试用例中


我请求Maven坐标(groupId和artifactId),这将允许我将这个类合并到我的测试用例中

看起来PowerMock还不支持JUnit5。你的问题可能是离题了,只是为了记录在案。看见