Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The following page has been changed by JonathanEllis: http://wiki.apache.org/cassandra/HowToContribute The comment on the change is: add coverage task instructions ------------------------------------------------------------------------------ 1. Modify the source to include the improvement/bugfix * Verify that you follow Cassandra's formatting conventions (Use http://incubator.apache.org/cassandra/cassandra-eclipse-formatter.xml if you use Eclipse) * Verify that your change works by adding a unit test. - * Make sure all tests pass by running "ant test" in the project directory. + * Make sure all tests pass by running "ant test" in the project directory. 1. When you're happy with the result create a patch: * svn add <any new file> * svn diff > CASSANDRA-issuenumber.patch @@ -15, +15 @@ 1. Wait for other developers or committers to review it and hopefully +1 the ticket 1. Wait for a committer to commit it. + Addendum: running the code coverage task: + + 1. Unzip this one: http://prdownloads.sourceforge.net/cobertura/cobertura-1.9.1-bin.zip?download + 2. ant codecoverage -Dcobertura.dir=/path/to/cobertura + 3. check build/cobertura + + This is also available on Hudson (which updates about once every 24h) here: http://hudson.zones.apache.org/hudson/job/Cassandra/110/cobertura/ +
