Skip to content
Alexey Valikov edited this page Aug 31, 2017 · 1 revision

Test Projects

Hyperjaxb3 quality assurance is mainly implemented in form of integration tests. In the frame of these tests we check how Hyperjaxb3 code generation works in a real build process and if the generated code works after all.

To execute such tests, Hyperjaxb3 contains a (large) number of test projects (you can access these projects in SVN. Each of the test projects typically contains an XML schema, bindings, XML samples, log4j.properties and persistence.properties for the target JPA provider. Test projects usually perform the following build steps:

  • compile the schema using XJC plus Hyperjaxb3;
  • compile the generated code;
  • exeute the roundtrip test to ensure that generated annotations (or mappings) work.

Test projects are built and tested in the frame of our continuous integration process on both JDK 1.5 and JDK 1.6. Unlike sample projects they are distributed as packages.

You are welcome to submit your schema as test project. Please contact us if you wish so.

Clone this wiki locally