Hi all,

I would like to introduce the concept of Junior Jobs (JJ), which are
programming tasks which require little CDK experience, and often
little programming skill what so ever. These JJs are particularly
suited if you start learning Java and/or CDK programming, but may
require some skills. The concept is borrowed from the KDE project.

These JJs must be simple to perform, but not necessarily minor to
implement. Here is an example JJ:

------------------------------------------------------------------------------
JJ: Misuse of assertTrue for tested expected Strings
------------------------------------------------------------------------------
Many JUnit tests in org.openscience.cdk.test use improper
JUnit assert methods to test for expected behavior. This JJ deals
with the following pattern:

assertTrue(smiles1.equals("[H]OC(=O)[EMAIL 
PROTECTED](F)(C([H])([H])[H])N([H])[H]"));

This must really be:

assertEquals("[H]OC(=O)[EMAIL PROTECTED](F)(C([H])([H])[H])N([H])[H]", smiles1);

Using the method assertEquals(EXPECTED_VALUE, FOUND_VALUE).
------------------------------------------------------------------------------
Required skills: you can compile the CDK and run the JUnit tests
using Ant or Eclipse.
------------------------------------------------------------------------------

I will soon set up a tracker for this on the CDK SF webpage at
sf.net/projects/cdk.

If you want to work on such a JJ, you reply in this new (soon to be)
tracker, by indicating for which CDK packages you want to do it (to
reduce work duplication), after which you commit or email your
patches, after which you make another note in the tracker that you
sent/commited patches for those packages.

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

Reply via email to