setup junit in eclipse [message #1859614] |
Tue, 20 June 2023 05:15  |
Eclipse User |
|
|
|
I'm using jdk 20 with Eclipse IDE for Java Developers - version 2023-06 (4.28.0)
I tried to create a test case: right click on package add new test case inside one of the packages under src.
Even after adding junit lib (tried with both junit 4 and 5) to buildpath, and making sure the correct import is there (depending on the version of junit I chose).
Junit imports and @Test annotation are failed to get recognized by eclipse nor can i add junit to the module info (fail to resolve module).
The window classpath variables contains the jar per my selection, in junit home.
I have only one other jar in my build path which is mysql-connector-java-8.0.30
So I dont think its a jar collision unless its colliding with the JDK itself.
any idea?
|
|
|
|
Powered by
FUDForum. Page generated in 0.08033 seconds