[ANN] JUnitTestPlugin 0.16 available

http://www.intellij.org/twiki/bin/view/Main/JUnitTestPlugin

Changes in 0.16 (896)

  • Recompiled for 896

  • Add multiple test class template support. On Ctrl-Shit-T a choice of template to use will be presented (in place of the yes/no question)

  • Add option to bypass the template choise popup when there is only one test template

  • Fix to class creation problem (reported by Chris Winters & PingHe)


Have fun being test infected ;)

Jacques

5 comments
Comment actions Permalink

Obviously there is no biological waste in my plugin:
Don't try to find a new modifier with a smelly name ;)
I am talking about Ctrl-Shift-T

It is time to go to bed apparently...

Jacques

0
Comment actions Permalink

Sorry, but it still seems to be broken using EAP 896 and build 16, version 2. It doesn't present a dialog for me to approve its choice of path creation as before, but it still creates the test class in:



When I'm expecting:



My patterns are still:



Please let me know if you'd like any logfiles, etc. for help. Thanks!

0
Comment actions Permalink

Well I only fixed the assertion in the creation of the class not where the plugin creates the file. I could not reproduce the location problem. For this a class log file would be great.
Can you delete the log file, start IDEA, open you project, go to your class under test w/ problem, do Ctrl-Shift-T (and tell me where you do it: in class body, in inner class, in method, in static method, in ctor...), verify you get the error, shutdown IDEA, copy the log.

Also try to reduce the class to its minimum and still demonstrates the problem. Then package your project with only that class file, the directory structure (w/o other classes) and your project files (ipr, iml,iws). Would that be possible?

Thanks

Jacques

0
Comment actions Permalink

Other questions:
1) Is it 100% consistent?
2) Is it occurring for all classes in that project?
3) How many source roots do you have?
4) How many projects do you have opened at the same time? If you have multiple is the problem still present with only that project opened?

Hopefully we will get to the bottom of this

Jacques

0
Comment actions Permalink

The attached zip file contains all the information you asked for, plus a README reiterating what happens. Thanks!



Attachment(s):
unit_test_plugin_bug_info.zip
0

Please sign in to leave a comment.