I would like to use the features of both Arquillian and PowerMock in the same JUnit 4 test.
The problem is that both products are JUnit Runner
s which should be used with @RunWith
, and this is not possible to use multiple @RunWith
on the same test class, or to put multiple Runner
s class in the same @RunWith
annotation.
Do you know any way to do that ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…