do you ever need to debug (not just run) a single junit test XXXmethod ?

do you ever need to debug (not just run) a single junit test XXXmethod ?

I find the ability to run individual test methods in a junit testcase
very handy, via the editor's context menu item 'run MyTestCase.textMethod'

I sorely miss the ability to run the same execution flow under the
debugger's control.
it could be implemented with another context menu item,

This is a fetaure that would save me and hopefully others) time and
grunt work, which is the reason I use IDEA in the first place.

but
http://www.intellij.net/tracker/idea/viewSCR?publicId=12038
... it's just been close as 'do not fix'


so I'm posting here to flame and complain .... ;)

Edo


6 comments

IDEA already provides this feature, what are you talking abount?

/kesh

0

kesh wrote:

IDEA already provides this feature, what are you talking abount?

/kesh


about running a SINGLE junitTestcase.textXXX method under the debugger.
you currently have to :
- store a target definition
OR
- add a temp suite method

this is not necessary for a RUN, only for a DEBUG
RUN has the much much much handier context meuitem entry - which doesn't
store a target config.

I'd just need the same for debugging !!

Edo

0

Isn't it that you can place your cursor in YourTestCase.testMethod name and select from the context menu "Debug YourTestCase.testMethod"? Or I'm missing your point...

/kesh

0

kesh wrote:

Isn't it that you can place your cursor in YourTestCase.testMethod name and select from the context menu "Debug YourTestCase.testMethod"? Or I'm missing your point...

/kesh

my context menu hasn't that !!! (see attached pic ...)

Edo on WindowsXPSP1



Attachment(s):
Clipboard01.png
0

Try to remove underscores in the method name. If it doesn't help, I guess
you should attach this gif to your issue report.
BTW, it works for me just fine.

/kesha

"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in message
news:b9dme2$s0i$1@is.intellij.net...

kesh wrote:

Isn't it that you can place your cursor in YourTestCase.testMethod name

and select from the context menu "Debug YourTestCase.testMethod"? Or I'm
missing your point...

>

/kesh

my context menu hasn't that !!! (see attached pic ...)

>

Edo on WindowsXPSP1

>


-


-







0

kesh wrote:

Try to remove underscores in the method name. If it doesn't help, I guess
you should attach this gif to your issue report.
BTW, it works for me just fine.

/kesha

"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in message
news:b9dme2$s0i$1@is.intellij.net...

>>kesh wrote:
>>
>>>Isn't it that you can place your cursor in YourTestCase.testMethod name


and select from the context menu "Debug YourTestCase.testMethod"? Or I'm
missing your point...

>>>/kesh
>>
>>my context menu hasn't that !!! (see attached pic ...)
>>
>>Edo on WindowsXPSP1
>>



----------------------------------------------------------------------------
----





found the reason for the bug ...
@see http://www.intellij.net/tracker/idea/viewSCR?publicId=12038

thanks,

Edo

0

Please sign in to leave a comment.