Issue
How can I define a folder, in eclipse, as a test folder? On my machine, the test folder /src/test
shows up correctly, with the test green test folder icon.
However, one a coworker's computer it shows as a source package. How do I assign/update this value?
Solution
you have to go to Project -> Build Path -> Configure Build Path
Then in the Source tab, you choose "Add Folder" and select that src/test/java, once it is added to your sources you double click where it says "Contains test sources"
Answered By - petrubear