diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index 47a86099e47..5b071c555d0 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -359,9 +359,15 @@ INFO: Redirect requested but followRedirects is disabled As a result the instrumented bytecode exceeds the JVM limits and is no longer loadable.

- For your tests try to exclude the CssParser (and maybe HtmlUnit itself also) from Jacoco instrumentation. + For your tests try to exclude the CssParser (and maybe HtmlUnit itself also) from JaCoCo instrumentation. Usually you like to check the code coverage of your classes and not for HtmlUnit oder the CssParser.

+

+ The method to exclude from instrumentation depends on your build tool, there are different ways to do this + for maven and gradle. Please check the documentation at JaCoCo at GitHub + for more details. There are also several answers available on StackOverflow hot to do this. And please make + sure you really exclude from instrumentation and not only from reporting. +