TestNG test optimization is almost supported.
It seems the only thing missing, is the ability to specify an alternate snapshot file location, even if this means users are required to set <systemproperty> elements.
Otherwise - the testng task needs the {{ listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector"
}} attribute set.
<testng outputdir="${outdir}/${testresultsprefix}" haltOnFailure="false" verbose="2" listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" groups="clover-optimized"> <sysproperty key="clover.initstring" value="${clover.initstring}"/> <sysproperty key="clover.snapshot" value="${clover.snapshot}"/> <classpath refid="unittestpath"/> <classpath> <pathelement location="${outdir}/classes"/> </classpath> <classfileset dir="${outdir}/classes"/> </testng>
The current means of configuring the CloverOptimizedTestSelector in TestNG is via System properties.
1.
|
Document TestNG Support for Test Optimization |
|
Closed | Unassigned |
[CLOV-373] Support for TestNG test optimization in Ant
Workflow | Original: JAC Suggestion Workflow [ 3342360 ] | New: JAC Suggestion Workflow 3 [ 3584853 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Backlog Order (Obsolete) | Original: 3210000003 | |
Workflow | Original: New Clover Workflow [ 897748 ] | New: JAC Suggestion Workflow [ 3342360 ] |
Issue Type | Original: New Feature [ 2 ] | New: Suggestion [ 10000 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Workflow | Original: Clover Workflow [ 895688 ] | New: New Clover Workflow [ 897748 ] |
Workflow | Original: reviewflow [ 148102 ] | New: Clover Workflow [ 895688 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Description |
Original:
TestNG test optimization is almost supported.
It seems the only thing missing, is the ability to specify an alternate snapshot file location, even if this means users are required to set <systemproperty> elements. Otherwise - the testng task needs the {{ listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" }} attribute set. {code} <testng outputdir="${outdir}/${testresultsprefix}" haltOnFailure="false" verbose="2" listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" groups="${testng.group}"> <sysproperty key="clover.initstring" value="${clover.initstring}"/> <sysproperty key="clover.snapshot" value="${clover.snapshot}"/> <classpath refid="unittestpath"/> <classpath> <pathelement location="${outdir}/classes"/> </classpath> <classfileset dir="${outdir}/classes"/> </testng> {code} The current means of configuring the CloverOptimizedTestSelector in TestNG is via System properties. |
New:
TestNG test optimization is almost supported.
It seems the only thing missing, is the ability to specify an alternate snapshot file location, even if this means users are required to set <systemproperty> elements. Otherwise - the testng task needs the {{ listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" }} attribute set. {code} <testng outputdir="${outdir}/${testresultsprefix}" haltOnFailure="false" verbose="2" listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" groups="clover-optimized"> <sysproperty key="clover.initstring" value="${clover.initstring}"/> <sysproperty key="clover.snapshot" value="${clover.snapshot}"/> <classpath refid="unittestpath"/> <classpath> <pathelement location="${outdir}/classes"/> </classpath> <classfileset dir="${outdir}/classes"/> </testng> {code} The current means of configuring the CloverOptimizedTestSelector in TestNG is via System properties. |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Implemented [ 10025 ] | New: Resolved [ 5 ] |
Description |
Original:
TestNG test optimization is almost supported.
It seems the only thing missing, is the ability to specify an alternate snapshot file location, even if this means users are required to set <systemproperty> elements. Otherwise - the testng task needs the {{ listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" }} attribute set. {code} <testng outputdir="${outdir}/${testresultsprefix}" haltOnFailure="false" verbose="2" listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" groups="${testng.group}"> <sysproperty key="clover.initstring" value="${clover.initstring}"/> <classpath refid="unittestpath"/> <classpath> <pathelement location="${outdir}/classes"/> </classpath> <classfileset dir="${outdir}/classes"/> </testng> {code} |
New:
TestNG test optimization is almost supported.
It seems the only thing missing, is the ability to specify an alternate snapshot file location, even if this means users are required to set <systemproperty> elements. Otherwise - the testng task needs the {{ listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" }} attribute set. {code} <testng outputdir="${outdir}/${testresultsprefix}" haltOnFailure="false" verbose="2" listeners="com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" groups="${testng.group}"> <sysproperty key="clover.initstring" value="${clover.initstring}"/> <sysproperty key="clover.snapshot" value="${clover.snapshot}"/> <classpath refid="unittestpath"/> <classpath> <pathelement location="${outdir}/classes"/> </classpath> <classfileset dir="${outdir}/classes"/> </testng> {code} The current means of configuring the CloverOptimizedTestSelector in TestNG is via System properties. |
Status | Original: Open [ 1 ] | New: Implemented [ 10025 ] |