Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

Hi

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.