Anyone has successfully integrated powermock with Guidewire unit tests? I'm interrested to know what works and what doesn't.
Asked
Active
Viewed 550 times
1 Answers
4
Gosu has own classloader, and PowerMock also, i think that is the main reason that dont works correctly. In my project we use Mockito, dont have static support but it works for the most common unit testing cases. Also i built a TestBase that allow make entities instances with RunLevel NONE and other utilities.

Carlos Duque
- 482
- 3
- 7
-
I'd be keen to see how your TestBase works? @Carlos Duque – pmartin8 Oct 16 '20 at 15:58