squaretest

Open full view…

PowerMock Integration

asgupta6
Thu, 23 Sep 2021 16:59:38 GMT

Can square test be integrated with PowerMock ?

nate-squaretest
Mon, 04 Oct 2021 16:09:16 GMT

Sorry for the delay. One option is to modify the template(s) to add @RunWith(PowerMockRunner.class) to the test class. If you need to mock dependencies which are final classes, using Mockito with the inline mockmaker is also an option. More information is available on [https://javadoc.io/static/org.mockito/mockito-core/3.12.4/org/mockito/Mockito.html#39](https://javadoc.io/static/org.mockito/mockito-core/3.12.4/org/mockito/Mockito.html#39).

asgupta6
Wed, 27 Oct 2021 13:31:29 GMT

Thanks for reply. Will try out this.