3 comments
Comment actions Permalink

Nice plugin.

I still have a couple of issues with it, though (now that I can configure the test class/ tested class pattern properly, my layout was not working in the previous version):

1. If the package where the test class is supposed to be created does not exist, the test class ends up in a wrong location. After that, every time the navigation is initiated from the tested class the "create test class" option shows up, but nothing happens. The navigation from the test class does not work in this case. In order to fix this, one has to manually create the package structure for the test packages.

2. The test method is not created anymore (it used to be created in the previous version of the plugin). If I initiate the navigation from a method that does not have a test associated with it, I end up either at the class declaration (if no test methods are present) or at one of the existing test methods.

Thx,
Andrei


"Jacques Morel" <jacmorel@yahoo.com> wrote in message news:atme9m$79b$1@is.intellij.net...
http://www.intellij.org/twiki/bin/view/Main/JUnitTestPlugin

1.. Toggle doesn't move caret if it is already inside target method
2.. Handles test method with additional characters after tested method name like testMyMethodWithNullParam or testMyMethod_Success
3.. Bug fixes (especially labels of patterns in plugin properties)

0
Comment actions Permalink

I could not reproduce 1. Could you send me a test project or at least the test patterns you use and location of tested class
2. is fixed in 0.4

Thanks for reporting the bugs

Jacques
"Andrei Oprea" <aoprea@creditwave.com> wrote in message news:ato5k2$4h1$1@is.intellij.net...
Nice plugin.

I still have a couple of issues with it, though (now that I can configure the test class/ tested class pattern properly, my layout was not working in the previous version):

1. If the package where the test class is supposed to be created does not exist, the test class ends up in a wrong location. After that, every time the navigation is initiated from the tested class the "create test class" option shows up, but nothing happens. The navigation from the test class does not work in this case. In order to fix this, one has to manually create the package structure for the test packages.

2. The test method is not created anymore (it used to be created in the previous version of the plugin). If I initiate the navigation from a method that does not have a test associated with it, I end up either at the class declaration (if no test methods are present) or at one of the existing test methods.

Thx,
Andrei


"Jacques Morel" <jacmorel@yahoo.com> wrote in message news:atme9m$79b$1@is.intellij.net...
http://www.intellij.org/twiki/bin/view/Main/JUnitTestPlugin

1.. Toggle doesn't move caret if it is already inside target method
2.. Handles test method with additional characters after tested method name like testMyMethodWithNullParam or testMyMethod_Success
3.. Bug fixes (especially labels of patterns in plugin properties)

0
Comment actions Permalink

Sure, I'll send a small project in a minute (on your email address).

Andrei
"Jacques Morel" <jacmorel@yahoo.com> wrote in message news:atpa0c$kl3$1@is.intellij.net...
I could not reproduce 1. Could you send me a test project or at least the test patterns you use and location of tested class
2. is fixed in 0.4

Thanks for reporting the bugs

Jacques
"Andrei Oprea" <aoprea@creditwave.com> wrote in message news:ato5k2$4h1$1@is.intellij.net...
Nice plugin.

I still have a couple of issues with it, though (now that I can configure the test class/ tested class pattern properly, my layout was not working in the previous version):

1. If the package where the test class is supposed to be created does not exist, the test class ends up in a wrong location. After that, every time the navigation is initiated from the tested class the "create test class" option shows up, but nothing happens. The navigation from the test class does not work in this case. In order to fix this, one has to manually create the package structure for the test packages.

2. The test method is not created anymore (it used to be created in the previous version of the plugin). If I initiate the navigation from a method that does not have a test associated with it, I end up either at the class declaration (if no test methods are present) or at one of the existing test methods.

Thx,
Andrei


"Jacques Morel" <jacmorel@yahoo.com> wrote in message news:atme9m$79b$1@is.intellij.net...
http://www.intellij.org/twiki/bin/view/Main/JUnitTestPlugin

1.. Toggle doesn't move caret if it is already inside target method
2.. Handles test method with additional characters after tested method name like testMyMethodWithNullParam or testMyMethod_Success
3.. Bug fixes (especially labels of patterns in plugin properties)

0

Please sign in to leave a comment.