我将尝试运行一项使用Mockito的JUnit Cucumber测试。我遇到的问题是这样的:在我的Cucumber Runner类中,我有以下代码。
@RunWith(Cucumber.class)
在我日常的JUnit测试中,我有:
@RunWith(Mockito.class)
鉴于我一次只能使用一个@RunWith,那么我该如何将Mockito与Cucumber结合使用?