Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Unit Testing in Java How to Test Setting Up a Project for Tests

Robin Huettisch
Robin Huettisch
1,181 Points

Open sample projects in Eclipse

Maybe this was asked a lot before, but can I work with your sample projects in Eclipse as well? I would rather not start using a different IDE as the one I'm used to at work right now just to learn how to write proper JUnit Tests. Is there some way to convert a IntelliJ project into another IDEs format? Thanks a lot!

1 Answer


I work in both IDE and in many cases, I move one project from Intellij to STS and vice vers.

if the project is a MAVEN project then it pretty simple. IS STS (Exclipse), just import from existing project and point to .pom file. I don't generally use/like Gradle ... but I assume the process is similar except you will need to point to the Gradle project file.

If this answers your question, please mark the question as answered.