Closed zzkyeee closed 3 years ago
Yes, junit4 only allows one @RunWith
and the junit-dataprovider requires one - I tried to change but it is not possible to get rid of it. However powermock seems to provide a @Rule
, see https://github.com/powermock/powermock/wiki/powermockrule.
Does that help?
@zzkyeee If you have any further questions, don't hesitate to reopen this issue but for now I will close it as there is no further response on an issue which seems to be unsolvable due to JUnit4s architectural constraints :-(
I want to use both junit-dataprovider and powermock, but @Runwith only one class.