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 139682

Summary: Generate html report for test results
Product: platform Reporter: Lukas Hasik <lhasik>
Component: -- Other --Assignee: Lukas Hasik <lhasik>
Status: RESOLVED FIXED    
Severity: blocker CC: gordonp, jglick, jtulach, mkrauskopf, rmichalsky, thp
Priority: P2 Keywords: REGRESSION, T9Y
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Attachments: proposed change to common.xml and build.xml

Description Lukas Hasik 2008-07-11 09:46:32 UTC
1, add new target that will generate html report from xml test result

2, generate the html report after commit-validation
Comment 1 Lukas Hasik 2008-07-11 14:44:54 UTC
I changed the targets in common.xml as suggested by Jesse. 

commitValidation task in nbbuild/build.xml was enhanced to generate html.

Note about the new task added in api.harness/release/README


is it all?
Comment 2 Lukas Hasik 2008-07-11 14:50:20 UTC
Created attachment 64338 [details]
proposed change to common.xml and build.xml
Comment 3 Jesse Glick 2008-07-11 15:35:49 UTC
It looks OK to me.
Comment 4 Lukas Hasik 2008-07-11 16:55:07 UTC
patch applied http://hg.netbeans.org/main/rev/813d57a79f0c (with some formatting mess :( )
Comment 5 Thomas Preisler 2008-07-14 19:46:24 UTC
Just tried running commit-validation on my Mac and still no html:

...
test:
[junitreport] Processing /Users/thp/netbeans-dev/main/nbbuild/build/test/results/TESTS-TestSuites.xml to /tmp/null1742578997
[junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 874ms
[junitreport] Deleting: /tmp/null1742578997

no-commit-validation:

commit-validation:

BUILD SUCCESSFUL

Comment 6 Thomas Preisler 2008-07-15 05:34:38 UTC
After updating trunk I now see index.html.
Comment 7 Quality Engineering 2008-07-17 04:46:15 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #324 build
Changeset: http://hg.netbeans.org/main/rev/813d57a79f0c
User: Lukas Hasik <lhasik@netbeans.org>
Log: #139682  Generate html report for test results