How to add test-classes to Application run configuration?

Hi,

This is with IDEA 10.5.

I've imported a maven project.  I want to create an application configuration that picks up test-classes instead of classes (or maybe both someday, but for my case, just test-classes).  

The application configuration picks up the entire classpath scope (i.e. it includes test scoped jars), but it does not contain test-classes.  I can manually add it, but then when the maven project is reimported, it would be lost.

Anybody got a thought?

Thanks,

-- Rick

0
1 comment

Hi, Rick,

Idea doesn't support using sources under 'Test Folders' for Application run confiruation. You can only use Unit Test run configuration, or move the corresponding classes to a 'Sources Folder'.

0

Please sign in to leave a comment.