Hi all,

I'm working on an android provider for surefire. Generally, I have things
working but have encountered a specific problem. The unit tests are running
remotely on a device (not the build machine). For the surefire xml report,
I need to pull in the system properties on the device, not those on the
build machine.

The StartupReportConfiguration.instantiateXmlReporter is hardcoded to
return XMLReporter. AbstractSurefireMojo.createForkStarter is, in turn,
hardcoded to use StartReportConfiguration.

So I'm unable to replace the StartReportConfiguration with a class
implementation that will return a specialized XMLReporter instance that
will return device system properties.

Is there a way to handle this situation through the surefire API or is this
something I need to create a patch for?

Thanks,
Shane

Reply via email to