I understand that Mockito facilitates true unit testing of specific pieces of code. That is a good facility to have.
+1 Simon On Thu, Oct 13, 2011 at 04:38:46PM +0100, Peter Hancock wrote: > I would like to launch a vote to include the Mockito framework and her > dependencies in to FOP for unit testing. > > Some reasons for introducing a framework for mocking and stubbing, and > Mockito in particular, have briefly been expressed [1] and patches > have been provided [2] ... [4] that depend upon Mockito. > > Unit testing in FOP often proves difficult because it can be very hard > to factor out dependencies: to run a piece of FOP code often requires > substantial configuration. > Mockito can go a long way in helping us here, and may even encourage > us to write more unit tests! > > [1] http://markmail.org/message/zobrtzanojpkfysa > [2] https://issues.apache.org/bugzilla/show_bug.cgi?id=50483 > [3] https://issues.apache.org/bugzilla/show_bug.cgi?id=50391 > [4] https://issues.apache.org/bugzilla/show_bug.cgi?id=46962 > > +1 here. > > Peter
