I have noticed that there are currently no systemetic test cases or
approaches as to how we test the Apache XML classes.

I have two proposals for build test cases into the package, that is, if IBM
did not forget to donate its set of test cases and driver programs:

1) Add a main(...) method to each concrete class, in that we develop and
implement the test cases. The main method will serve as the test driver
program. And, during the build process, we will just add a build target to
execute each concrete class.

The major advantage to this option is that it makes the developers to be
able to test any changes to the class immediately without looking at other
classes.

Obviously, the disadvantage is that it is not "clean" as the the code under
main method may be too long for a complex set of test cases necessary for a
class.

2) Alternatively, create a package such as "org.apache.xerces.test". And put
all the test driver classes there.

Any thought?

regards,
-Shaoping Zhou

Reply via email to