- many
TraceCodeInjector
s andTraceListener
s supported in the same time viaTraceExtension
interface TraceExtension
s could be provided via generic Service Provider Interface (SPI). It makes prod code independent on potentialTraceExtension
- Coverage collection from many module's compilations
- Coverage report per line and instruction in HTML format
- add
xquery-saxon-support
to prod classpath and useSpiTraceExtensionProvider
to obtainTraceExtension
- add
xquery-saxon-coverage
to test classpath and enable coverage collection via-Dxquery.saxon.coverage
Java system property
Provide Java system properties
-Dxquery.saxon.coverage
- enables coverage collection-Dxquery.saxon.coverage.report.bin.save.on.shutdown
- saves binary coverage report on JVM shutdown in report directory-Dxquery.saxon.coverage.report.html.save.on.shutdown
- saves HTML coverage report on JVM shutdown in report directory-Dxquery.saxon.coverage.report.dir
- report directory, default value isbuild/reports/xquery-saxon-coverage