简体   繁体   中英

Powermock integration with Guidewire

Anyone has successfully integrated powermock with Guidewire unit tests? I'm interrested to know what works and what doesn't.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM