Conversion of Powermockito Junit Tests to MockitoRunner

91 Views Asked by At

I would just like to ask if there's an easy way or manageable way to convert an existing Junit running on Power Mockito to Mockito Runner? The Powermockito doesn't seem to be supported for JDK 17 and the work around I found (--ad-opens java.base/java.lang = ALL -UNNAMED) doesn't really work well. I'm currently using Visual Studio Code for my environment (was the required IDE to use).

I have been trying to do some research as I'm basically a bean sprout level when it comes to this.

0

There are 0 best solutions below