Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Combine/collate multiple testng-results.xml files into one
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dirk Hain  
View profile  
 More options Sep 10 2010, 11:29 am
From: Dirk Hain <dirkh...@gmail.com>
Date: Fri, 10 Sep 2010 08:29:45 -0700
Local: Fri, Sep 10 2010 11:29 am
Subject: [testng-users] Combine/collate multiple testng-results.xml files into one
Hi,

I have searched on this topic for a while and could not find an 'easy'
way to combine the testng-results.xml files from multiple suites into
one file.
I have multiple (maven) projects which contain tests and all produce
their own testng-results.xml on project level. I also have a parent
project that I execute to invoke all the sub-projects. Ideally I would
like to configure testng in the parent project to take all sub-project
testng-results.xml files and combine them into one which will be
stored on the parent project level.

If anybody has had a similar case I would love to hear how you solved
this problem.

Thanks!
-Dirk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tomás Pollak  
View profile  
 More options Sep 10 2010, 12:40 pm
From: Tomás Pollak <tpollak...@gmail.com>
Date: Fri, 10 Sep 2010 13:40:06 -0300
Local: Fri, Sep 10 2010 12:40 pm
Subject: Re: [testng-users] Combine/collate multiple testng-results.xml files into one

Hudson does this. It presents the test results for a multi-module maven
project in one consolidated view (however it doesn't provide you with a
merged testng-results.xml file, is that what you need or would the Hudson
page be enough?)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Hain  
View profile  
 More options Sep 10 2010, 12:50 pm
From: Dirk Hain <dirkh...@gmail.com>
Date: Fri, 10 Sep 2010 09:50:05 -0700
Local: Fri, Sep 10 2010 12:50 pm
Subject: Re: [testng-users] Combine/collate multiple testng-results.xml files into one

Hi Tomas,
Thanks for your response. I need a combined testng-results.xml because  
I am integrating into another reporting framework. I guess if Hudson  
does this there must be a way. Hopefully I don't have to find and  
merge the files myself :-)

Thanks,
-Dirk

On Sep 10, 2010, at 9:40, Tomás Pollak <tpollak...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nalin Makar  
View profile  
 More options Sep 10 2010, 9:22 pm
From: Nalin Makar <nalin.ma...@gmail.com>
Date: Fri, 10 Sep 2010 18:22:29 -0700
Local: Fri, Sep 10 2010 9:22 pm
Subject: Re: [testng-users] Combine/collate multiple testng-results.xml files into one

Hudson doesn't merge the XML files. It only parses multiple testng xml files
into hudson specific test objects to report the results as one.

It should be pretty straight forward though using some xpath.

-nalin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael  
View profile  
 More options Sep 12 2010, 12:35 am
From: Michael <mensm...@gmail.com>
Date: Sat, 11 Sep 2010 21:35:07 -0700 (PDT)
Local: Sun, Sep 12 2010 12:35 am
Subject: Re: Combine/collate multiple testng-results.xml files into one
I recently had the same need.  While I do not know whether it is
effective in all situations, it works for me.  Essentially, I have an
ant task that applies an XSLT stylesheet to merge each testng-
results.xml into a single file.

The details of my solution can be found at
http://blog.meesqa.com/2010/09/11/combine-multiple-testng-resultsxml-...

Hope this helps.

Michael

On Sep 10, 8:29 am, Dirk Hain <dirkh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Hain  
View profile  
 More options Sep 14 2010, 6:33 pm
From: Dirk Hain <dirkh...@gmail.com>
Date: Tue, 14 Sep 2010 15:33:52 -0700
Local: Tues, Sep 14 2010 6:33 pm
Subject: Re: [testng-users] Re: Combine/collate multiple testng-results.xml files into one
Michael,

Thanks a lot for your solution. An ant task will work just fine for my
requirements! Great post!!!

Cheers,
-Dirk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cédric Beust ♔  
View profile  
 More options Sep 14 2010, 6:36 pm
From: Cédric Beust ♔ <ced...@beust.com>
Date: Tue, 14 Sep 2010 15:36:25 -0700
Local: Tues, Sep 14 2010 6:36 pm
Subject: Re: [testng-users] Re: Combine/collate multiple testng-results.xml files into one

Great post, Michael. I added a link to your article in the main
documentation:

http://testng.org/doc/misc.html

--
Cédric

--
Cédric

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »