To set up the test suite * import the source files from dino-http-test-src.jar into your IDE * include the JSR 311 API jar and the Jersey bundle jar in your classpath * include JUnit4 in your classpath (your IDE should have an integration with JUnit4, which will provide junit.jar and a GUI for examining test results) In Fall 09, the Jersey-related jars are available for download at * http://cs.franklin.edu/~swartoud/655/downloads/jsr311-api-1.0.jar * http://cs.franklin.edu/~swartoud/655/downloads/jersey-bundle-1.0.1.jar To run the test suite * make sure that the directory service is deployed * make sure that the notebook service instances you want to test are deployed and configured to use the directory service * if you want the test to run with zero failures, delete any existing notebooks from the main notebook service you will be testing (if you don't remove existing notebooks, the first test, "manageNotebooks," will fail at the first call to compareNotebookLists(). All of the other tests should still pass) * the test suite class is notebook.NotebookHttpTest * use JVM arguments to direct the test to your notebook instances. The arguments you are most likely to set are -Dteam=... -Durl1=... -Durl2=... -Durl3=... url1 is the main notebook instance; url2 and url3 are used in the tests for secondary copies and max transparency See the NotebookHttpTest code for the default values Background information on JUnit * If you are unfamiliar with JUnit4, see their web site at www.junit.org * For a jumpstart-style introduction, see the JUnit 4.x quick tutorial at http://code.google.com/p/t2framework/wiki/JUnitQuickTutorial