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.
I have come across several places in the tests that I have been executing where I wanted to comment on the content of the test case. So I am very happy that there is a feature to choose a comment. :) But it would be even more useful IMHO if one could add a (short) free text comment explaining the problem/suggestion in addition to choosing an option from the drop down. Would this be possible?
I vote for this enhancement. Sometime I would like to signal that the test case has a small issue but is not completely wrong. For example a test case tells to go in the "scope" tab but the tab is named "context", some test cases use key combination not available with my keybord layout (ie I have to use CTRL+SHIFT+C to toggle comments because I have not the key to do the CTRL+/ combination). Those small issues don't invalidate the test or the test case but can be useful to signal them.
I've added 2 new comment types: Minor changes needed and Dependency not met (will be live in 10 minutes). I'm against free comment because it will make comments resolving much complicated. For instance, [1] now contains 161 comments, when someone presses "Marked as resolved", Synergy offers to resolve all duplicate comments (same test case && same test suite && same comment) so he can quickly resolve a lot of duplicates. Now If I add new comment type "free text", I believe a lot of users will use it even in situations where some predefined comment type would fit as well. Simply because they want to describe it as detailed as possible or just don't want to be limited by other comment type. And that would make resolving a much more time consuming. Personally I would think about comment for test case as a "hint" to specification maintainer/resolver to review given test case with a small idea about what is wrong (based on the comment). [1] http://services.netbeans.org/synergy/client/app/#/assignment_comments/8
That makes sense - thanks!
Hi Vladimir, I agree with you now that I know the motivation of this choice. What do you think about the addition of the free text comment field in addition to the menu list? For example I select "Duplicate test case" as category (useful for the issue classification) and in addition, optionally, I can write some free text to give some hint to the resolver (for example "I think this test case is a duplicate of the this other because...") Could be a solution..
So each comment type would have (optional) free text to append to it? You would be still limited to the X types of comments (and so "resolve duplicates" would be still possible) and you could add some short message to it (say 200 characters) if you want. Is that what you mean? If so, I think this is a good idea that should work.
OK, should be done, tester can optionally add free text (up to 100 characters) to each comment ("comment type"). Thank you for the idea Fixed in #810.
Thank you Vladimir!
Thanks!