Create a JUnit test framework for MetaCat
JUint is powerful test tool and we need apply it to MetaCat. The first step is
to create a framework for it. The tasks include:
1. Revise build.xml and add a target named "test". When devopler type "ant
test", the JUnit test classes will be excuted.
2. Create a file stucture to store the test classes.
3. Write a simple test class to run.
#1 Updated by Jing Tao over 18 years ago
In Metacat, build.xml file was revised. It now has a target named test. Now
user can type "ant test", then will build and run test classes which extened
Create xmltodb/junittests/edu/ucsb/nceas/metacatjunittests directory to store
the test class file.
Write a simple test file named MetaCatURLTest.java to test MetacatURL class
and run it successfully.