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.

Bug 241234 - Free text comment to test case
Summary: Free text comment to test case
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Synergy (show other bugs)
Version: 8.0
Hardware: PC Windows 8 x64
: P3 normal with 1 vote (vote)
Assignee: Vladimir Riha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 16:00 UTC by mienamoo
Modified: 2014-03-09 18:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2014-01-31 16:00:30 UTC
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?
Comment 1 -Silver- 2014-02-03 09:07:56 UTC
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.
Comment 2 Vladimir Riha 2014-02-12 12:37:20 UTC
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
Comment 3 mienamoo 2014-02-17 07:37:05 UTC
That makes sense - thanks!
Comment 4 -Silver- 2014-02-20 16:45:30 UTC
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..
Comment 5 Vladimir Riha 2014-02-20 16:51:27 UTC
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.
Comment 6 Vladimir Riha 2014-02-21 09:55:46 UTC
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.
Comment 7 -Silver- 2014-02-21 10:05:01 UTC
Thank you Vladimir!
Comment 8 mienamoo 2014-03-09 18:07:22 UTC
Thanks!