Shaoping Zhou [mailto:[EMAIL PROTECTED] wrote >>I have noticed that there are currently no systemetic test cases or >>approaches as to how we test the Apache XML classes.
I definitely don't like the idea of writing main() methods in the classes. I bought, but never seriously used, a couple of licences of SunTest's JavaSpec tool which would seem ideal for this type of role. Unfortunately, the product has been discontinued by Sun and was pretty expensive at couple of K at seat. For the time being there is a short description at http://www.sun.com/workshop/testingtools/javaspec.html. However, when I was looking for I couldn't find anything quite like it and bought to use as a test harness for COM objects (back when Microsoft was going to make Java and COM one). That said, I'm wondering if there are any Sun lurkers out there that know if it could be made available for Apache work (or open-sourced). What are you guys doing for your in-house testing? Or is there another testing tool that lapped JavaSpec?
