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 85688 - Add failed by bug state and it's support for testcases
Summary: Add failed by bug state and it's support for testcases
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-25 15:26 UTC by Andrey Yamkovoy
Modified: 2006-11-02 11:04 UTC (History)
2 users (show)

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 Andrey Yamkovoy 2006-09-25 15:26:32 UTC
It would be very nice to have state "failed by bug" and it's support 
(corresponding methods) to have possibility to mark some testcases which failed 
by known bug.
Comment 1 pzajac 2006-09-26 16:12:48 UTC
Why to have state fail by bug? You can specify it in:

1) message
assertTrue(condition,"see to #85688 defect)

2) test case name
testRegression85688() {
}

 

Comment 2 Andrey Yamkovoy 2006-09-27 13:45:14 UTC
Yes, these 2 cases are possible but not convenient.
But in case if we have special state 'failed by bug' then we can easy select 
such kind of bugs. Also it helps to identify which tests need it's owner review 
and maybe some update. 
Comment 3 Jiri Skrivanek 2006-09-29 12:00:53 UTC
We discussed this issue with Alexei Mokeev in July 2005 but we couldn't agree on
it. My opinion is that 'expected fail' status is enough. My use case:

- a test case fails
- test's owner files a bug for it
- now one can use a or b
a)
- the test case is failing until the bug is fixed
- test starts to pass when the bug is fixed

b)
- test's owner marks the test case as 'expected fail' in cfg
- test will finish with result 'unexpected pass' when the bug is fixed
- test's owner remove 'expected fail' attribute from cfg
Comment 5 Andrey Yamkovoy 2006-11-02 11:04:07 UTC
Verified.