I am working on the https://github.com/openmrs/openmrs-module-radiologydcm4chee and want to add unit tests.
I am using eclipse (with egit and maven integration plugin).
I cloned the github repo, then in eclipse imported the “git repo locally” and then imported “existing maven projects” and selected the the local path of the repo.
The radiologydcm4chee module misses unit tests in its api, so I added the folders with fictive test file
Tests and build runs fine from the command line with ‘mvn clean package’ but eclipse keeps telling me
“Source folder is not a Java project.”
It wont auto-format those files and keeps showing me these question marks on the folders and files in that new test directory.
Do I have to include this new test directory in the api’s pom file? Did I import of the module the wrong way in eclipse?
I appreciate your help to my newbie question! Thank you very much! Ivo