-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
excludes not working #117
Comments
any progress for this issue? |
also I have this problem . SBT version: 1.2.3 |
Any news? |
This configuration is working for me to exclude
|
For me it's not working and I'm on 3.1.0. |
I have tried to add the below code to my "build.sbt" (3.1.0), it did exclude it at the code coverage percentage. However, the file is still instrumented. I still get the instrumentation error about "method too large", the error comes at the instrumenting stage, so how to exclude files from instrumentation? |
It does not work for me. I'm using 3.4.0 |
Hi all, In my case, it worked using the same approach as in issue #96. It was adding jacocoExcludes := Seq(
"com.test.base.model.TestModel.*"
) Hope it works for you. |
I had similar issues. The root cause turned out to be how to apply that setting. I directly put inside settings block, which worked for me. No need to define |
@dexterhu can you please provide an example? |
hi @alonshoshani, below worked for me in my
|
Expected vs Actual Behaviour
I have a
Method code too large!
error, in a class the java runs fine. For now I don't want to change the class so I want to exclude it from instrumentation, but this is not working.I tried several approaches in sbt, but none is working, for example
then adding
jacoco
to project settings.also:
Tried several combinations of the class to exclude, but none work. I still get the error.
It should...
Exclude class from instrumentation.
Instead it...
Includes all classes
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: