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

Reply via email to