Setup project with different test jdk + source level
Hi!
I need to write a couple of test against old codebase. I'd like to leverage new frameworks, Junit and Mockito in particular, of recent versions. is it possible to setup module to have tests of major version compare to deliverable code? With upcoming Java 7 this also looks needful. Also, it just boring to be able wites test in groovy, but not in java 6 angainst the 1.4 code.
regards, Alex.
Message was edited by: Alexander Ashitkin
请先登录再写评论。
Hello Alexander,
In the current version, you'll need to put the tests in a separate module
in order to enable such setup. I don't think we plan to introduce per-source-root
language level settings.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
just to know - intellij doesn't support it in maven also? if i configure different source level for tests in maven project - this won't be supported?
regards, Alex?