History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: WT-349
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Assignee: Marc Guillemot
Reporter: ruel loehr
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
WebTest

Create a xsl transformation which will take webtest results and tranform them into format which cruisecontrol can read

Created: 12/Nov/07 22:34:34   Updated: 25/Jan/08 09:23:35
Affects Version/s: 2.5
Fix Version/s: 2.6

File Attachments: 1. XML File CCWebTestReport.xsl (3 kb)
2. XML File CCWebTestReport.xsl (3 kb)

Image Attachments:

1. screenshot.GIF
(107 kb)
Environment: N/A


 Description   
Most automated build systems can read junit format xml. It would be great if webtest could ship with an xsl file which can:

1) take webtest output xml and transform it into junit format xml

This would basically allow any user to download webtest, create some tests and integrate into their automated build systems very easily.



 All   Comments   Change History      Sort Order:
Comment by ruel loehr [12/Nov/07 22:36:10]
I'm currently working on this integration and it will take a few iterations to get it right. In the meantime, I will continue posting updates of the xsl on here in case any one wants to offer feedback. I will leave a comment when I feel this issue is complete.

Comment by Marc Guillemot [13/Nov/07 09:55:44]
Do you plan to write an xsl to integrate in CC to provide dedicated formatting or do you want to stay on the webtest results -> junit results?

Comment by ruel loehr [13/Nov/07 15:08:51]
Initially I'll stay on webtest->junit track. That way users of other automated build systems (e.g. hudson) could use this as well. The junit format seems to be the only "standard" amongst the different ci servers.

Once that is done, I'll probably go ahead and write an xsl specific to cruisecontrol integration. We can probably contribute this to their project and hopefully get them to support some out of the box functionality for webtest.

I'm a firm believer that when things are supported with very little configuration, adoption will be become more prominent.

Comment by Marc Guillemot [13/Nov/07 15:17:11]
I agree that both make sense.

Concerning the second point, it is probably wise to develop it for the "new" format.

Comment by ruel loehr [13/Nov/07 17:51:43]
An update to get error messages in email.

Comment by ruel loehr [13/Nov/07 18:14:14]
attaching a screenshot of the email i know receive from cruisecontrol

Comment by Marc Guillemot [25/Jan/08 09:23:35]
Since build 1654, using webtest.xml a WebTestOverview.junit.xml file is automatically created in the results folder. The information provided is not as rich as in your proposition which doesn't apply to the new result format.
I close this issue. Improvements to the generation of WebTestOverview.junit.xml are welcome as new issues.