Am Dienstag, den 13.12.2016, 22:36 +0100 schrieb Philippe Mouawad: > On Sunday, December 11, 2016, Felix Schumacher < > [email protected]> wrote: > > > > > Hi all, > > > > Philippe has brought up the potential usage of a mocking framework > > in > > another thread. That is something I too would like to see used in > > our > > tests. He has linked mockito 2 as a candidate. I think a strong > > contender > > would be jmockit (http://jmockit.org/) or (additionally) something > > like > > spock (http://spockframework.org/). > > > > What do you think? > I have a little experience with mockito2, not with other, so it's > hard to > answer. > Some elements that might be useful: > > - https://www.openhub.net/p/spock > - https://www.openhub.net/p/jmockit > - https://www.openhub.net/p/mockito > > > Maybe we should take a place where we want to introduce it and make > an > example with the 2 or 3 implementations to give us some ideas
Now that builds.apache.org/analysis includes jmeter stats, we can see, that jdbc needs a few more tests :) So I think it would be a good idea to test mockito and jmockit on some jdbc test elements. I haven't used spock before, so I don't really know, what we would have to do in order to use it. I will open a bug enhancement to add a mocking framework. We could add patches there, or add PR to it. Regards, Felix > > > > > > > Felix > > > >
