0

I am using testng and mockito for integration tests and unit test respectively. I rarely using java8 lambda functions in the project. Still the code coverage showing too many lambda methods with 0% coverage

Example: enter image description here

the formatFilter method is 100% covered still coverage showing lambda$formatFilter$1(String) with 0% coverage where formatFilter method never called using lambda.

How can I either cover those methods or remove it from coverage

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.