Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Creating a jacoco report for cucumber features in a multi module maven project

Bumble BeeJan 10 2025 — edited Jan 10 2025

Hi All,

Not an advanced programmer.

So we have a maven project in which we have different modules and also there's a cucumber test module in which we store all features and step definitions and they are linked to the code in other modules.

When we build our parent pom.xml, we don't run cucumber tests so it only runs unit tests.

The classes directory is generated in each module along with java main and test source codes, but the cucumber test module only contain test code in src and there are no main code and classes directory.

How can I create a jacoco report that provides coverage for cucumber tests?

Thanks

Comments
Post Details
Added on Jan 10 2025
0 comments
25 views