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.
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.
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).
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.
To use generated config for executing tests, set property xtest.module.configfile, e.g. ant runtests -Dxtest.module.configfile=cfg-qa-functional-failed.xml
committed to trunk
Resolved for 3.3.x or earlier, no new info since then -> verify.
Resolved for 3.3.x or earlier, no new info since then -> closing.