Re: Prefer Mockito?

2020-04-27 Thread Karl Heinz Marbaise
On 27.04.20 16:54, John Patrick wrote: Just did comment regarding typo. I also advocate Mockito, so also would be recommending that. It appeared Mockito supported junit v5 earlier than others and compared to previous versions remove boiler plate setup. Or I missed those other frameworks

Re: Prefer Mockito?

2020-04-27 Thread Robert Scholte
People are bad readers. I'd suggest to spend some time to replace those frameworks with mockito (and powermock tests should be rewritten or removed, there should be no reason to use it). Otherwise we'll get more easymock tests or no PRs at all as people don't know how to use easymock. I've

Re: Prefer Mockito?

2020-04-27 Thread John Patrick
Just did comment regarding typo. I also advocate Mockito, so also would be recommending that. It appeared Mockito supported junit v5 earlier than others and compared to previous versions remove boiler plate setup. Or I missed those other frameworks supporting junit v5. PowerMock might be agued

Prefer Mockito?

2020-04-27 Thread Elliotte Rusty Harold
Anyone have an opinion on recommending Mockito as our preferred mocking library? https://github.com/apache/maven-site/pull/158/files This doesn't require us to port old unit tests, though we can. Right now we have a mix of Mockito, JMock, PowerMock, and EasyMock spread out across the plugins.