Hi all, this is the first of a series of two posts on Milestones for the CDK.
I am proud to announce that the project has now more than 5000 unit tests, each of which is daily run to ensure the quality of our source code. Each unit test checks a tiny part of the functionality of the CDK library, for example, as simple as testing the get/setSymbol() methods. The methods sound very boring, and they are, but did uncover minor bugs in the past. Other unit tests check much more complex code, such as testing the parsing functionality of the SMILES parser. Typically, some tests fail; on a normal day some 1-2%. However, we ensure that the core functionality of the CDK (the core, data, standard modules) does not have failing tests, while we try to keep the rest as low as possible. For some code this is not possible; these modules we call 'unstable'. Finally, I do want to note that tests may be failing because of three reasons: 1. the code is broken 2. dependencies are not well defined 3. the code is not fully tested The latter two are smaller problems. The first is typically called a 'fail', from a failed assertion. The latter two are typically found as 'errors'. Test reports are available via Nightly: for cdk-1.0.x: stable modules: http://cheminfo.informatics.indiana.edu/~rguha/code/java/nightly-1.0.x/junitsummary.html unstable modules: http://cheminfo.informatics.indiana.edu/~rguha/code/java/nightly-1.0.x/junitsummary-unstable.html for trunk: stable modules: http://cheminfo.informatics.indiana.edu/~rguha/code/java/nightly/junitsummary.html unstable modules: http://cheminfo.informatics.indiana.edu/~rguha/code/java/nightly/junitsummary-unstable.html Enough for now, soon CDK will have another milestone... but I'll email on that later :) Selected Reading: http://chem-bla-ics.blogspot.com/2006/01/open-source-java-tool-chain-cdk.html http://chem-bla-ics.blogspot.com/2006/09/cdk-bug-squash-party-day-5.html http://chem-bla-ics.blogspot.com/2006/10/running-single-junit-tests-in-eclipse.html http://chem-bla-ics.blogspot.com/2006/11/code-coverage-making-sure-your-code-is.html http://chem-bla-ics.blogspot.com/2007/11/comparing-junit-test-results-between.html http://chem-bla-ics.blogspot.com/2007/12/test-results-for-cdk-10x-branch.html Egon -- ---- http://chem-bla-ics.blogspot.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cdk-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

