Code Monkey home page Code Monkey logo

junit5examples's People

Contributors

lokeshgupta1981 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

junit5examples's Issues

jacoco does not produce code coverage reports

Hello - I have been looking for a working example of how to generate code coverage reports with JUnit5 for quite a while, and was excited to give this Junit5Examples repo a try. Unfortunately, it does not generate reports after following the steps outlined in your howto guide.

Repository cloned with no file edits.

Java version: Openjdk version "21.0.1" 2023-10-17
Maven version: Apache Maven 3.6.3

Execution of "mvn package" runs to completion and all tests pass, but the dreaded non descriptive error for jacoco pops up. I've never been able to resolve this on any computer I've used, no matter java or maven configurations. Any insights or suggestions on how to fix it would be wonderfully welcomed:

[INFO] --- jacoco-maven-plugin:0.8.7:report (default-report) @ JUnit5Examples ---
[INFO] Skipping JaCoCo execution due to missing execution data file.

The surefire-reports directory is made in target/surefire-reports with plenty of .txt and .xml files, but no jacoco target/site directory for the code coverage output is generated.

Screenshot of end of mvn package run and system information:

jacocoNotRunning

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.