Code Monkey home page Code Monkey logo

junit5-examples's People

Contributors

thangpt2019 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

junit5-examples's Issues

junit5-maven-jacoco-example does not work in Java 11

When I build (mvn clean package) with Java 8 (openjdk64-1.8.0.312) the example works well (and is VERY helpful). However, when I build with Java 11 (openjdk64-11.0.9.1) I get the following error.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project junit5-maven-jacoco-example: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /Users/emiller/Documents/Platform/junit5-examples/junit5-maven-jacoco-example && /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -javaagent:/Users/emiller/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/Users/emiller/Documents/Platform/junit5-examples/junit5-maven-jacoco-example/target/jacoco.exec -jar /Users/emiller/Documents/Platform/junit5-examples/junit5-maven-jacoco-example/target/surefire/surefirebooter5400809793951340192.jar /Users/emiller/Documents/Platform/junit5-examples/junit5-maven-jacoco-example/target/surefire/surefire12841616111002894255tmp /Users/emiller/Documents/Platform/junit5-examples/junit5-maven-jacoco-example/target/surefire/surefire_05346477161936196727tmp

I think the problem is some combination of versions for surefire, jacoco, and junit but changing can cause other errors and so far I have not found a combination which works.

Errors in junit5-spring-boot-example

Is junit5-spring-boot-example supposed to work? I cloned the repo and mvn test inside junit5-spring-boot-example directory, and I get a bunch of errors in the POM (missing versions). I fixed those, but then the Surefire plugin throws too.

JUnit 5 Test Suite Example doesn't work

JUnit 5 Test Suite Example: Doesn't since "@RunWith(JUnitPlatform.class)" is not for Junit5.
In order to run, you need to make sure that IDE (Eclipse) is pointing to Junit4 for this Suite Class.

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.