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.

View | Details | Raw Unified | Return to bug 139682
Collapse All | Expand All

(-)a/nbbuild/build.xml (-1 / +7 lines)
Lines 1669-1675 Link Here
1669
            </not>
1669
            </not>
1670
        </fileset>
1670
        </fileset>
1671
    </pathconvert>
1671
    </pathconvert>
1672
    <fail message="There were failed tests:${line.separator}${failed.tests}">
1672
    <junitreport todir="${build.test.results.dir}">
1673
            <fileset dir="${build.test.results.dir}">
1674
                <include name="TEST-*.xml"/>
1675
            </fileset>
1676
            <report format="frames" todir="${build.test.results.dir}/html"/>
1677
    </junitreport>
1678
    <fail message="There were failed tests:${line.separator}${failed.tests} ${line.separator}${line.separator}Test report html: ${build.test.results.dir}/html/index.html">
1673
        <condition>
1679
        <condition>
1674
            <not>
1680
            <not>
1675
                <or>
1681
                <or>
(-)a/nbbuild/templates/common.xml (+13 lines)
Lines 558-563 Link Here
558
    </target>
558
    </target>
559
    <target name="test-qa-functional" depends="init,test-init,test-build" if="exists.test.qa-functional.src.dir">
559
    <target name="test-qa-functional" depends="init,test-init,test-build" if="exists.test.qa-functional.src.dir">
560
        <test test.type="qa-functional"/>
560
        <test test.type="qa-functional"/>
561
    </target>
562
563
    <target name="test-generate-html" depends="-do-test-generate-html,-test-browse-html"/>
564
    <target name="-do-test-generate-html">
565
        <junitreport todir="${test.results.dir}">
566
            <fileset dir="${test.results.dir}">
567
                <include name="TEST-*.xml"/>
568
            </fileset>
569
            <report format="frames" todir="${test.results.dir}/html"/>
570
        </junitreport>
571
    </target>
572
    <target name="-test-browse-html" if="netbeans.home">
573
        <nbbrowse file="${test.results.dir}/html/index.html"/>
561
    </target>
574
    </target>
562
    <target name="test" depends="test-unit,test-qa-functional"/>
575
    <target name="test" depends="test-unit,test-qa-functional"/>
(-)a/apisupport.harness/release/README (+3 lines)
Lines 961-966 Link Here
961
961
962
test - run all unit tests for the module. Run -> Test... in the IDE.
962
test - run all unit tests for the module. Run -> Test... in the IDE.
963
963
964
test-generate-html [since 6.5 M2] - can be used after test target to generate
965
test reports in html.
966
964
test-build - build unit tests for the module.
967
test-build - build unit tests for the module.
965
968
966
test-init - define properties used for building and running unit tests.
969
test-init - define properties used for building and running unit tests.

Return to bug 139682