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 - Generate html report for test results
Summary: Generate html report for test results
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Lukas Hasik
URL:
Keywords: REGRESSION, T9Y
Depends on:
Blocks:
 
Reported: 2008-07-11 09:46 UTC by Lukas Hasik
Modified: 2008-12-22 13:38 UTC (History)
6 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
proposed change to common.xml and build.xml (2.30 KB, patch)
2008-07-11 14:50 UTC, Lukas Hasik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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