Libraries for Tests
I have several libraries that are only needed for running my unit tests. For example, my MockObject jars.
Since IDEA goes out of its way to differentiate the portion of my project containing Test classes from Src classes, I think you should also be able to mark a library as for test use only. If there is a way to do this now, I can't find it.
The inability to make this distinction causes my libraries panel to be a bit cluttered and I end up with extraneous JARs in my build that shouldn't be there.
The 4.x version of NetBeans actually handles this quite well by defining build, run, and test classpaths or libraries.
请先登录再写评论。
Clark Richey wrote:
here here. Have you opened a feature request? If so I'll go add my
voice there.
cheers
dim
There is
"Tag a whole module as "test" related"
http://www.jetbrains.net/jira/browse/IDEA-1833
, but I'm not sure it covers what you're seeking.
Alain
No, it's a good idea but it doesn't cover my situation. I have created a new feature request for this...IDEA-3589. Please support it!