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.
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?)
On Fri, Sep 10, 2010 at 12:29 PM, Dirk Hain <dirkh...@gmail.com> wrote: > 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 received this message because you are subscribed to the Google Groups > "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to > testng-users+unsubscribe@googlegroups.com<testng-users%2Bunsubscribe@google groups.com> > . > For more options, visit this group at > http://groups.google.com/group/testng-users?hl=en.
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:
> 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?)
> On Fri, Sep 10, 2010 at 12:29 PM, Dirk Hain <dirkh...@gmail.com> > wrote: > 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 received this message because you are subscribed to the Google > Groups "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com > . > For more options, visit this group at http://groups.google.com/group/testng-users?hl=en > .
> -- > You received this message because you are subscribed to the Google > Groups "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com > . > For more options, visit this group at http://groups.google.com/group/testng-users?hl=en > .
On Fri, Sep 10, 2010 at 9:50 AM, Dirk Hain <dirkh...@gmail.com> wrote: > 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:
> 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?)
> On Fri, Sep 10, 2010 at 12:29 PM, Dirk Hain < <dirkh...@gmail.com> > dirkh...@gmail.com> wrote:
>> 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 received this message because you are subscribed to the Google Groups >> "testng-users" group. >> To post to this group, send email to <testng-users@googlegroups.com> >> testng-users@googlegroups.com. >> To unsubscribe from this group, send email to >> <testng-users%2Bunsubscribe@googlegroups.com> >> testng-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> <http://groups.google.com/group/testng-users?hl=en> >> http://groups.google.com/group/testng-users?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to > testng-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/testng-users?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to > testng-users+unsubscribe@googlegroups.com<testng-users%2Bunsubscribe@google groups.com> > . > For more options, visit this group at > http://groups.google.com/group/testng-users?hl=en.
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.
> 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.
On Sat, Sep 11, 2010 at 9:35 PM, Michael <mensm...@gmail.com> wrote: > 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.
> On Sep 10, 8:29 am, Dirk Hain <dirkh...@gmail.com> wrote: >> 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 received this message because you are subscribed to the Google Groups "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
On Sat, Sep 11, 2010 at 9:35 PM, Michael <mensm...@gmail.com> wrote: > 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.
> On Sep 10, 8:29 am, Dirk Hain <dirkh...@gmail.com> wrote: > > 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 received this message because you are subscribed to the Google Groups > "testng-users" group. > To post to this group, send email to testng-users@googlegroups.com. > To unsubscribe from this group, send email to > testng-users+unsubscribe@googlegroups.com<testng-users%2Bunsubscribe@google groups.com> > . > For more options, visit this group at > http://groups.google.com/group/testng-users?hl=en.