This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Unit test results should be inlined in the node display name! | ||
---|---|---|---|
Product: | java | Reporter: | Torbjorn Norbye <tor> |
Component: | JUnit | Assignee: | junit-issues@java <junit-issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | emononen |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 172772 | ||
Attachments: |
Current output
Screenshot of test output including the test output Patch against current sources (October 6th 2008) to implement this (enabled on a flag, -J-Djunit.inline_result=true) Patch for ruby.testrunner (as simple as possible rather than properly formatted) |
Description
Torbjorn Norbye
2008-10-07 06:10:36 UTC
Created attachment 71253 [details]
Current output
Created attachment 71254 [details]
Screenshot of test output including the test output
Created attachment 71255 [details]
Patch against current sources (October 6th 2008) to implement this (enabled on a flag, -J-Djunit.inline_result=true)
Created attachment 71256 [details]
Patch for ruby.testrunner (as simple as possible rather than properly formatted)
Thanks for the patch Tor. I like the idea, I'll try it out and integrate then to the Ruby test runner (post 6.5 of course). I integrated the patch to ruby.testrunner, #9c93366658bc. I used a different system property for ruby.testrunner though (perhaps we'll want to consolidate this later): ruby.testrunner.inline_result, enabled by default. I don't think we need to have a system property for it at all, since I think everybody will want this. At most it should be a property to turn it off. I included the system property in my patch in case there was a chance this behavior could be included in 6.5 ;-) Integrated into 'main-golden', will be available in build *200810151401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9c93366658bc User: Erno Mononen <emononen@netbeans.org> Log: #149315: Unit test results should be inlined in the node display name! - applied Tor's patch for ruby.testrunner Yeah, in the ruby test runner the property is turned on by default; will remove it if there is no negative feedback (which I don't really expect). Integrated in trunk for JUnit module. The integrated fix doesn't rely on property junit.inline_result. Looks like it's not useful. BTW, Tor, thanks for the suggestion! http://hg.netbeans.org/main/rev/1310a99b2549 Integrated into 'main-golden', will be available in build *200812070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1310a99b2549 User: cms@netbeans.org Log: #149315, #69040: JUnit test results UI improved (added tooltip; failure reason is shown near failed test name) |