Running IdeaTestCase-based tests from standalone maven build

Hi,

I am writing unit tests for UI-related code in an IDEA plugin by extending IdeaTestCase.
The tests run nice when run from within IDEA, but my main maven build fails.

I include all the available IDEA jars from http://mevenide.codehaus.org/m2-repository/ , but I get the "NoClassDefFoundError: com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl" error.
When I add the idea.jar to the build as test dependency, I get the "No parent found for /; bin folder with idea.properties file not found" error.

Am I headed in the right direction?
Has anyone managed to run IdeaTestCase outside IDEA? In a standalone automated maven build?

I hope somebody has done this before and can share a recipe.

Regards,
Slawomir Ginter

Please sign in to leave a comment.