PIT works with generated tests if separate classloader is set to false. It does not work otherwise.
Jacoco with a JavaAgent for instrumentation at classloading-time works with generated tests if separate classloader is set to false. It does not work otherwise.
Jacoco with offline instrumentation works regardless of the classloader setting. It is important, however, to explicitly set the location of the jacoco.exec file. The commandline for Jacoco with offline instrumentation is:
mvn clean test jacoco:restore-instrumented-classes jacoco:report
Works regardless of classloader setting.
Works regardless of classloader setting.