Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] Unit tests for Callisto: help wanted

Unit tests are an important part of eclipse.org deliverables. They provide
rapid and repeatable ways to test code being changed, and give the adopter
community a sense of code coverage and completeness. Currently there are
very few unit tests in DTP. In order to be considered a "mature" project
(that is, graduate from the incubation state we currently are in),
comprehensive unit tests will be expected. The PMC hopes to make
substantial progress toward this goal in DTP Callisto. Specifically we
would like:

1. Unit tests for all plug-ins, to be housed outside the plug-ins
themselves
2. A way to run these unit tests as a whole after a build or at any time
during development

Writing good unit tests, especially those that range across components in a
consistent way and don't require odious dependencies (such as specific
databases or other servers present), is a skill like any other in software
engineering. Fortunately, there are a number of good online tutorials and
book in print about unit testing and JUnit in particular.

In order for DTP to meet this goal, I am asking for a volunteer to
coordinate unit test development. This person ideally would have solid
experience with JUnit, and would coordinate with each component owner to
insure that the goals 1--2 above are met (in addition to more goals defined
in the process). Clearly this is a lot of work, but it is necessary for
moving DTP forward.

 Any takers?

Regards,
John Graham
Eclipse Data Tools Platform PMC Chair
Staff Software Engineer, Sybase, Inc.
http://dataplat.blogspot.com/



Back to the top