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 14682 - List of failed/excluded tests
Summary: List of failed/excluded tests
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on: 32008
Blocks:
  Show dependency tree
 
Reported: 2001-08-22 16:28 UTC by Milan Kubec
Modified: 2003-07-02 12:22 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 Milan Kubec 2001-08-22 16:28:30 UTC
Xtest framework should generate configs for failed and excluded tests, so user
will be able to run just failed or excluded tests after e.g. fix and not to
bother with number of succesfully passed tests.
Comment 1 Milan Kubec 2001-10-10 08:50:43 UTC
These configs will be probably created by using XSLT stylesheets
either from report.xml (for failed tests) file or from given
cfg-{configuration}.xml (for excluded excluded).
Comment 2 Jiri Skrivanek 2003-03-31 13:41:00 UTC
It was implemented in private branch new_testlists. It depends on
32008 because it uses new functionality to load/store config files.
When it is merged it can be used.
Usage:
1) add following to <module>/test/build.xml

    <target name="generateFailedConfig">
	<ant antfile="${xtest.home}/lib/module_harness.xml"
target="generateFailedConfig"/>
    </target>

    <target name="generateExcludedConfig">
	<ant antfile="${xtest.home}/lib/module_harness.xml"
target="generateExcludedConfig"/>
    </target>

2) then call following from <module>/test directory:

ant generateFailedConfig

   It will generate <original-config>-failed.xml file containing
failed test cases from the last test run.

ant generateExcludedConfig -DconfigFile=cfg-qa-functional.xml

It will generate <original-config>-excluded.xml file with test cases
excluded in original config.

Comment 3 L Martinek 2003-04-23 16:17:21 UTC
To use generated config for executing tests, set property
xtest.module.configfile, e.g.

  ant runtests -Dxtest.module.configfile=cfg-qa-functional-failed.xml
Comment 4 L Martinek 2003-04-24 15:54:57 UTC
committed to trunk
Comment 5 Quality Engineering 2003-07-02 12:20:37 UTC
Resolved for 3.3.x or earlier, no new info since then -> verify.
Comment 6 Quality Engineering 2003-07-02 12:22:21 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.