|
|
Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs
Page 4 of 4
<testsuite><preamble><test><action><result><equals><constructor><method><set> below.
<field><set> below.
<set><get><primitive>I'm sure by now you'd like to get your hands on some live code. Download xaf.jar, xml4j.jar, and (if you're not using the Java 2 Platform) collections.jar. xml4j.jar contains IBM's XML parser, collections.jar contains Java 2-compatible collection classes, and xaf.jar contains a free XML framework (written by yours truly) and the testing infrastructure. Add all of the jar files to your CLASSPATH.
You'll also need something to test. Download Scanner.java and compile it, then download test.xml and test.dtd. The former contains the test definitions in the format I described above.
Go ahead and give it a try. At the command line, type:
java Test test.xml
This will load and run the tests.
You now have an understanding of the importance of performing tests, and can use the tools necessary to do so. Remember to keep testing and testability in mind at all stages of the development process -- even if you won't be the one doing the testing. If you do, you'll produce better software and your customers will love you for it.