Date: 2005-01-18T14:10:34 Editor: MichelleCaisse Wiki: Apache JDO Wiki Page: XMLMetadata URL: http://wiki.apache.org/jdo/XMLMetadata
no comment Change Log: ------------------------------------------------------------------------------ @@ -1,11 +1,18 @@ = Test Strategy for Chapter 18: XML Metadata = +Testing the orm XML metadata of Chapter 18 requires the following components: + *an object model, manifested as java classes + *a mapping of the classes to a relational schema + *data to populate the model + *a test to verify that the data is correctly stored and retrieved via jdo +We plan to use a single object model, a single mapping, a single data set (?), and a single test to perform as much of the testing as possible. Where necessary, these will be supplemented with a special purpose model, mapping, data, or test. The primary test object model is called the Company model; the primary test case is called the Completeness test. +Chapter18TestCoverageNotes lists the XML tags and whether each can be tested by the Completeness test and Company model. -= Chapter 18 Test Coverage Notes = -This page contains a tabular listing of each orm metadata tag with information about whether it can be tested using the company model and the Completness test: Chapter18TestCoverageNotes +The UML diagram for the Company model is at CompanyModelUml. -= The Company Model = -See the UML diagram for the Company model at CompanyModelUml. +All tests must be run both for application and datastore identity. + +We plan to create a schema generator utility that will generate database-specific DDL from the mapping metadata. = Notes from jdo-tck-ext weekly meetings on xml metadata =