Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Rule violated for bundle venia.core: branches covered ratio is 0.37, but expected minimum is 0.50

Avatar

Level 3

When trying to compile the venia example from 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content-and-commerce/storef...

getting this error

Rule violated for bundle venia.core: branches covered ratio is 0.37, but expected minimum is 0.50

also see this:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/e207083/.m2/repository/uk/org/lidalia/slf4j-test/1.0.1/slf4j-test-1.0.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/e207083/.m2/repository/com/adobe/aem/aem-sdk-api/2021.5.5343.20210524T070738Z-210527/aem-sdk-api-2021.5.5343.20210524T070738Z-210527.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [uk.org.lidalia.slf4jtest.TestLoggerFactory]

 

Does anyone know how to resolve?

2 Replies

Avatar

Level 3

in order to get rid of the jacoco coverage error in this case, you need to add some tests for the added methods to MyProductTeaserImpl.java to  MyProductTeaserImplTest.java and this is not specified in the tutorial.

Avatar

Community Advisor

Hi @Yonit ,

 

Please take a latest release of Venia Reference Site. Code coverage has been increased and it will fix the code coverage threshold should be > 50 % condition.

 

https://github.com/adobe/aem-cif-guides-venia/releases/tag/venia-2021.07.26