How to change 'Create Test' defaults?
How do I change the defaults for the 'Create Test' unit test dialog?
It defaults to <class name>Test instead of our standard Test<class name>, and we have our own custom superclass, and a standard convention for the source tree, so I have to change these the same way every time I use it.
When I was using the JUnit plug-in, all these things were conveniently customisable, but I can't find the settings for the built-in test framework...
请先登录再写评论。
Hi, Dave,
These settings are not yet customizable,
please create a jira issue for this request.
Thanks,
Anton Makeev
I'm really suprised that these defaults can't be changed - it significantly reduces the time-saving advantage of having a test skeleton generator in the first place... I'll go back to the JUnit plug-in until this is fixed.
JIRA IDEA-21205 (http://www.jetbrains.net/jira/browse/IDEA-21205) has been raised.
Moreover, I'm getting tired of adding necessary imports for every test. For example, in probably all JUnit4 tests you need org.junit.Assert.* static import. It would be great to have it by default.
Will it be in Idea 9?