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 32008 - Add unexpected failures/passes state to XTest
Summary: Add unexpected failures/passes state to XTest
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks: 14682
  Show dependency tree
 
Reported: 2003-03-14 12:03 UTC by Martin Brehovsky
Modified: 2003-04-24 15:55 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 Martin Brehovsky 2003-03-14 12:03:50 UTC
Add unexpected failures/passes state to XTest -
user should be able to specify which tests is
expected to fail (for example because a bug for
the feature it tests is already filed) or
unexpected to pass. 

The expected result of the test should be defined
in the cfg file - something like this:

<testbag ...>
...
<patternset>
    <include
name="mytest.class/expectedFailureTest"
expectedresult="failure" reason="this test should
fail"/>
</patternset>
Comment 1 L Martinek 2003-04-22 13:10:27 UTC
Fixed in private branch, will be merged to trunk later.

Each include can now have additional attribute 'expectedFail' with
text describing why the test is expected to fail.

<patternset>
    <include name="mytest.class/expectedFailureTest"
             expectedFail="fails due to bug #12345"/>
</patternset>

If such test will pass, it's state will be 'unexpected pass'.
Comment 2 L Martinek 2003-04-24 15:55:19 UTC
committed to trunk