When running my Quarkus tests in combination with jmock I run into: This is what I have setup jmock with: To make matters worse: This all works on the command line but not within Eclipse. Answer This is due to the JRE/JDK that Eclipse selects to run your tests. These tests should be run using a JDK only, the JRE
Tag: jmock
Bringing unit testing to an existing project
I’m working on an existing Java EE project with various maven modules that are developed in Eclipse, bundled together and deployed on JBoss using Java 1.6. I have the opportunity to prepare any framework and document how unit testing should be brought to the project. Can you offer any advice on… JUnit is where I expect to start, is this