Skip to content

HyperJAXB3 Test Projects

Laurent Schoelens edited this page May 21, 2024 · 1 revision

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 GIT. 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;
  • execute the roundtrip test to ensure that generated annotations (or mappings) work.

Test projects are built and tested in the frame of our continuous integration (in github workflow) process on JDK 1.8 (before JAXB4), JDK 11, JDK 17 and JDK 21. 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