Hi,

I've been working on unit testing some of the classes in FOP and I
think FOP could benefit from using a mocking framework. The goal is
obviously that every class has a complimentary test class to test
behaviour and state and mocking a class is a good way to emulate an
object. I shan't make this into a lecture on the benefits, I've
enclosed a good URL as to some of the benefits, but I wanted to put it
to the community for feedback. This would mean including an extra
JAR(s) file in the libs/ directory (obviously we'll have to be careful
with licenses), but I'm just floating the idea if anyone has any
preferred frameworks please do suggest pros/cons.

http://martinfowler.com/articles/mocksArentStubs.html

Thanks

Mehdi

Reply via email to