Split package view between sources and Junit tests

In IDEA3, if we have two sources directory, we have two separate entries in the project structure. This is interesting when you want your JUnit code to be separated from the main code.

Is it possible to do the same with Aurora?

I assume I can create a new module for that but then, what's the purpose of the mark sources and mark tests features?



1 comment
Comment actions Permalink

Also, how can I import resources in the classpath without marking the directory as src tests?

I have a resources directory containing XMLs, It should be added on the junit's classpath. So far, the only solution I found was to mark the directory as src test. But of course it appears in the package list, which is bad.

Any idea?


Please sign in to leave a comment.