From d25ffdbd8a39e5cc60b64c7c54caecfdf72ffca5 Mon Sep 17 00:00:00 2001 From: echelon Date: Sun, 12 Feb 2012 11:11:29 +0000 Subject: [PATCH] updated --- www.i2p2/pages/bounty_unittests.html | 73 ++++++++++++++++++---------- 1 file changed, 47 insertions(+), 26 deletions(-) diff --git a/www.i2p2/pages/bounty_unittests.html b/www.i2p2/pages/bounty_unittests.html index 8abe72d9..df09ce89 100644 --- a/www.i2p2/pages/bounty_unittests.html +++ b/www.i2p2/pages/bounty_unittests.html @@ -2,56 +2,77 @@ {% block title %}Bounty unittests{% endblock %} {% block content %}

To improve I2P's maintainability, we want to have a solid set of automated unit tests for the critical code. While we do have some -unit tests at the moment, they are ad-hoc. This bounty is for -someone to move the tests over to jUnit, automate their execution, -extend them to provide better code coverage, and publish the report -online. Its a massive effort, but can be broken down into phases, -listed below (phase 1 must occur first, but further phases may happen -in any order)

-

-NOTICE: this is the old state of the bounty, new state is in work! +unit tests at the moment, they are ad-hoc and partly unfinished. +This bounty is for someone to check the existant tests and move over +old ones to jUnit, automate their execution, extend them to provide +better code coverage, and publish the report online. Its a massive +effort, but can be broken down into phases, listed below (phase 2 +must occur first, but further phases may happen in any order). +As this needs some reading of code, it is the best start point for +new devs to get a good overview of I2P code and coding. A good job +for college students, interns or anyone who is just interested.

-

Phase 1: SDK test migration

-Bounty: $300 CLAIMED! By ComWiz
+

Phase 1: CI jenkins and IRC bot

+Bounty: €in work by MathisDM
-

To collect this bounty, the existing SDK tests must be moved over -to jUnit, integrated into the ant build scripts ("ant test"), and -tied in with a code coverage tool (e.g. +

To collect this bounty, a continuous integration server (Jenkins, +old name was Hudson) must be set up and a connected IRC bot needs +to set up in the channel #i2p-dev on IRC2p network to print out +results of build tests.
+The server needs to be run long term. +

+
+ +

Phase 2: Check existing SDK tests

+Bounty: €
+ +

To collect this bounty, the existing SDK tests must be checked +and made to work again. The need to be integrated into the ant +build scripts ("ant test"), and tied in with a code coverage tool (e.g. Clover). The ant script must be capable of generating test status results as a web page, which will be published online.


-

-This was done by ComWiz but is currently heavyly outdated.
-New Phase 1: make sure the core unit tests work. -

-

Phase 2: SDK test coverage

-Bounty: $300
+

Phase 3: SDK test coverage

+Bounty: €

To collect this bounty, the automated unit tests must meet a measured code coverage of 90% of the SDK (i2p/core/java/src).

-

Phase 3: Router test migration

-Bounty: $300
+

Phase 4: Router test migration

+Bounty: €
-

As with phase 1, the existing unit tests for the router must be +

As with phase 2, the existing unit tests for the router must be moved over to the automated system.

-

Phase 4: Router test coverage

-Bounty: $300
+

Phase 5: Router test coverage

+Bounty: €

To collect this bounty, the automated unit tests must meet a measured code coverage of 90% of the router (i2p/router/java/src).

-

Phase 5: Streaming lib tests

-Bounty: $300
+

Phase 6: Streaming lib tests

+Bounty: €

To collect this bounty, a new set of unit tests must meet a measured code coverage of 90% of the streaming lib (i2p/apps/ministreaming/ and i2p/apps/streaming/).

+

Phase 7: MultiRouter simulation

+Bounty: €
+ +

To collect this bounty, the existant in-memory multi-router +simulation must be checked, made work again and extend to simulate +lots of routers in memory on a single machine. +

+ +

+Judge on all these works is the donor and donor decides if a phase is +called succesfull done and money can be paid. +

+

Note: bounty amounts may be increased by further donations. Do you think these are important? Add in your donation, marking the amount for the unit test bounty!