|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Test runner question about clicking on nodes of failed classesIn the test runner (Test Results tab), double-clicking on a node does
different things depending on whether it is a unit test or an RSpec test. - double-clicking a node for a failed unit test takes me to that test method - double-clicking a node for a failed RSpec test (a specify or it block) takes me to the line in the class being tested that caused the failure. Is this the way it is supposed to be? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Test runner question about clicking on nodes of failed classesHi Chris,
Chris Kutler wrote: > In the test runner (Test Results tab), double-clicking on a node does > different things depending on whether it is a unit test or an RSpec test. > > - double-clicking a node for a failed unit test takes me to that test > method > > - double-clicking a node for a failed RSpec test (a specify or it > block) takes me to the line in the class being tested that caused the > failure. What's the first line in the stack trace in this case? Double clicking a failed node jumps to the location specified by the first line in the stack trace (for better or worse). Erno > > Is this the way it is supposed to be? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Test runner question about clicking on nodes of failed classesHi Erno,
I don't think I am understanding what you mean by first line in stack trace. I have attached two images, one for RSpec tests and one for Unit Tests. In the one for RSpec, double-clicking the test takes me to the second line in the trace. In the one for unit tests, double-clicking takes me to the test and not any line in the trace, that I can see. I will be sending you this app in response to another email, so maybe you can see what I mean. Erno Mononen wrote: > Hi Chris, > > Chris Kutler wrote: >> In the test runner (Test Results tab), double-clicking on a node does >> different things depending on whether it is a unit test or an RSpec >> test. >> >> - double-clicking a node for a failed unit test takes me to that test >> method >> >> - double-clicking a node for a failed RSpec test (a specify or it >> block) takes me to the line in the class being tested that caused the >> failure. > > What's the first line in the stack trace in this case? Double clicking > a failed node jumps to the location specified by the first line in the > stack trace (for better or worse). > > Erno > >> >> Is this the way it is supposed to be? >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@... >> For additional commands, e-mail: dev-help@... >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Test runner question about clicking on nodes of failed classesSorry Chris, I had forgotten about http://www.netbeans.org/issues/show_bug.cgi?id=137911. The fix for that issue changed the behavior so that double-clicking a failed node should take you to the failing line in the test method itself, if possible (meaning that the test file needs to be present in the stack trace). Seems that it is not working in your case for some reason, but not sure why as I couldn't open the rspec image due to its psp format, could you send it as a .png or .gif? Erno Chris Kutler wrote: > Hi Erno, > > I don't think I am understanding what you mean by first line in stack > trace. > > I have attached two images, one for RSpec tests and one for Unit Tests. > > In the one for RSpec, double-clicking the test takes me to the second > line in the trace. > > In the one for unit tests, double-clicking takes me to the test and > not any line in the trace, that I can see. > > I will be sending you this app in response to another email, so maybe > you can see what I mean. > > > > Erno Mononen wrote: >> Hi Chris, >> >> Chris Kutler wrote: >>> In the test runner (Test Results tab), double-clicking on a node >>> does different things depending on whether it is a unit test or an >>> RSpec test. >>> >>> - double-clicking a node for a failed unit test takes me to that >>> test method >>> >>> - double-clicking a node for a failed RSpec test (a specify or it >>> block) takes me to the line in the class being tested that caused >>> the failure. >> >> What's the first line in the stack trace in this case? Double >> clicking a failed node jumps to the location specified by the first >> line in the stack trace (for better or worse). >> >> Erno >> >>> >>> Is this the way it is supposed to be? >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@... >>> For additional commands, e-mail: dev-help@... >>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Test runner question about clicking on nodes of failed classesHi Erno,
Sorry I wasn't paying attention to the types. Here it is in png format. Erno Mononen wrote: > > Sorry Chris, I had forgotten about > http://www.netbeans.org/issues/show_bug.cgi?id=137911. The fix for > that issue changed the behavior so that double-clicking a failed node > should take you to the failing line in the test method itself, if > possible (meaning that the test file needs to be present in the stack > trace). Seems that it is not working in your case for some reason, but > not sure why as I couldn't open the rspec image due to its psp format, > could you send it as a .png or .gif? > > Erno > > > Chris Kutler wrote: >> Hi Erno, >> >> I don't think I am understanding what you mean by first line in stack >> trace. >> >> I have attached two images, one for RSpec tests and one for Unit Tests. >> >> In the one for RSpec, double-clicking the test takes me to the second >> line in the trace. >> >> In the one for unit tests, double-clicking takes me to the test and >> not any line in the trace, that I can see. >> >> I will be sending you this app in response to another email, so maybe >> you can see what I mean. >> >> >> >> Erno Mononen wrote: >>> Hi Chris, >>> >>> Chris Kutler wrote: >>>> In the test runner (Test Results tab), double-clicking on a node >>>> does different things depending on whether it is a unit test or an >>>> RSpec test. >>>> >>>> - double-clicking a node for a failed unit test takes me to that >>>> test method >>>> >>>> - double-clicking a node for a failed RSpec test (a specify or it >>>> block) takes me to the line in the class being tested that caused >>>> the failure. >>> >>> What's the first line in the stack trace in this case? Double >>> clicking a failed node jumps to the location specified by the first >>> line in the stack trace (for better or worse). >>> >>> Erno >>> >>>> >>>> Is this the way it is supposed to be? >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@... >>>> For additional commands, e-mail: dev-help@... >>>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |