How to Contribute to jMock
jMock is nothing without contributions from the user community. There are many ways to contribute. We are constantly working on the software and documentation, so it's a good idea to contact the team on the user or development mailing lists1 to avoid duplicating effort.
Documentation
One of the traditional weak points of open source software is the documentation. Any help with this aspect of the project will be welcomed with open arms, or at the very least with open email clients!
Examples
We are working on one or two examples of using jMock, but we can always do with more. A user who does a lot of servlet development will not find a J2ME example useful, and vice versa.
Feature Requests
We eat our own dogfood, but we're also happy to feed other people's dogs
(if you'll excuse a stretched dachshund metaphor!). If you
want to request a new feature you can either make a request through the issue
tracker2 or by sending a message to the development mailing list1. The benefit of any
new features will be discussed (possibly quite vigorously, although we try to
avoid physical violence) on the mailing list, so its a good idea to sign up
so that you can stick your oar in.
Bug Reports
You can report bugs through the issue tracker2 interface or the development mailing list1. Additional brownie points are awarded for bug reports that include a failing unit test.
Bug Fixes
If you want lots of brownie points, send a fix along with your bug report and failing unit test. Bug fixes are best sent as patches that we can apply to the codebase. Remember to tell us which version the patch should be applied against, or we'll get very confused. To be accepted into the codebase, patches must be released under the same license as jMock itself3.
New Code
If you have a new feature request, then we'll listen extra hard if you show us how it works. A new feature might be best implemented as a patch to an existing class or as a new class. The jMock API contains many extension points that allow new functionality to be integrated into the framework. We are rather anal about testing, so if you send us some code without any tests we will probably ask you to write the tests tests as well before we add it to the codebase.
Write Your Own jMock Extension
If you have a project that builds upon jMock we will be happy to announce your project on the jMock site.
Become a Committer
We follow the Codehaus manifesto4 when it comes to expanding the core team.