Is there a way to exclude a code block / a methods in the application code being evaluated for coverage.
I initial problem of mine associated with a code block with reflection, which triggers to fail the test because of the synthetic members of the jacoco. I know that the code fix of check for the synthetic members will clear the issue, but I am currently not in a position to change the application code. I have two options in mine, but not sure it is possible [A] exclude the specific code block of the application (in the code bloc level or in the method level). This has to be done without a change in the application code. [B] Exclude the test method being executed with Jacoco. Obviously moving the test in to a different test suite(which do not run code coverage ) is an option , I am interested in more ides. I am running my test test on JUnit, Build using ant, and code coverage by Jenkins Jacoco plugin. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/694e2a01-6435-4e38-932a-a86fc65c5d21%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
