Need to move JUnit test files to different folder
Hello
I'm currently in my 2nd semester working with java and our task is to create a software in a group of six people. Five of them use Eclipse and I'm the only one using IntelliJ. I've been happily writing my test files until someone of the group noticed they didnt get uploaded to our git repo. I then realized that my test files are stored in a different path then theirs.
My project view: https://snag.gy/MymQGZ.jpg
Top test folder is the one from eclipse and the section with a green background are my files.
I want all my JUnit test files to be in the same path as theirs, how can I get that done? I've tried manualy moving the files to that folder, but then I cant run any tests with IntelliJ...
Thanks for any help!
Please sign in to leave a comment.
Hello,you need to configure test content root like described here: https://www.jetbrains.com/help/idea/2018.1/creating-and-managing-modules.html#configuring-content-roots
Thanks, I just walked through the test setup with one eclipse user and he manualy created everything and didn't follow Maven conventions. So nothing wrong with my installation just 2nd semester students having no idea what they are doing.
Problem is solved!