Quantcast

Multiple test reports

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Multiple test reports

stormcloud-3
Hi,

Is it possible to configure Hudson to publish multiple Junit test reports for each project. I have multiple projects and each one could have a:

* Unit test report
* Function test report
* Performance test report

Thanks,



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

Sami Tikka
Yes, Hudson reads all the JUnit XML files you tell it to read in job
configuration. It presents the contents of each test file separately
in test results page.

-- Sami

2009/4/2 stormcloud <[hidden email]>:

> Hi,
>
> Is it possible to configure Hudson to publish multiple Junit test reports
> for each project. I have multiple projects and each one could have a:
>
> * Unit test report
> * Function test report
> * Performance test report
>
> Thanks,
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

slider3
How do you specify the path for the XML junit files if you have something like this:
...
    * results\
        * unit-test-report\
        * funtion-test-report\
        * performance-test-report\
        * findbugs\
        * emma\

Notice that only the files in the 3 first folders under 'results' have valid xml junit/testng files. Putting something like: reports/**/*.xml would not work.

Thank you.

Sami Tikka wrote
Yes, Hudson reads all the JUnit XML files you tell it to read in job
configuration. It presents the contents of each test file separately
in test results page.

-- Sami

2009/4/2 stormcloud <email.forward.me@googlemail.com>:
> Hi,
>
> Is it possible to configure Hudson to publish multiple Junit test reports
> for each project. I have multiple projects and each one could have a:
>
> * Unit test report
> * Function test report
> * Performance test report
>
> Thanks,
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

Sami Tikka
Maybe specify the paths to the wanted xml files:
results/unit-test-report/*.xml,results/function-test-report/*.xml,results/performance-test-report/*.xml

Or did I misunderstand what you asked?

The filename separator might also be space instead of comma. I don't
remember which. Hudson usually checks and warns if you use the wrong
one.

-- Sami

2009/4/16 slider3 <[hidden email]>:

>
> How do you specify the path for the XML junit files if you have something
> like this:
> ...
>    * results\
>        * unit-test-report\
>        * funtion-test-report\
>        * performance-test-report\
>        * findbugs\
>        * emma\
>
> Notice that only the files in the 3 first folders under 'results' have valid
> xml junit/testng files. Putting something like: reports/**/*.xml would not
> work.
>
> Thank you.
>
>
> Sami Tikka wrote:
>>
>> Yes, Hudson reads all the JUnit XML files you tell it to read in job
>> configuration. It presents the contents of each test file separately
>> in test results page.
>>
>> -- Sami
>>
>> 2009/4/2 stormcloud <[hidden email]>:
>>> Hi,
>>>
>>> Is it possible to configure Hudson to publish multiple Junit test reports
>>> for each project. I have multiple projects and each one could have a:
>>>
>>> * Unit test report
>>> * Function test report
>>> * Performance test report
>>>
>>> Thanks,
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-test-reports-tp22842535p23072122.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

slider3
Thanks. I didn't know we could specify multiple paths. I'll try that.

Mario

Sami Tikka wrote
Maybe specify the paths to the wanted xml files:
results/unit-test-report/*.xml,results/function-test-report/*.xml,results/performance-test-report/*.xml

Or did I misunderstand what you asked?

The filename separator might also be space instead of comma. I don't
remember which. Hudson usually checks and warns if you use the wrong
one.

-- Sami

2009/4/16 slider3 <slider3@gmail.com>:
>
> How do you specify the path for the XML junit files if you have something
> like this:
> ...
>    * results\
>        * unit-test-report\
>        * funtion-test-report\
>        * performance-test-report\
>        * findbugs\
>        * emma\
>
> Notice that only the files in the 3 first folders under 'results' have valid
> xml junit/testng files. Putting something like: reports/**/*.xml would not
> work.
>
> Thank you.
>
>
> Sami Tikka wrote:
>>
>> Yes, Hudson reads all the JUnit XML files you tell it to read in job
>> configuration. It presents the contents of each test file separately
>> in test results page.
>>
>> -- Sami
>>
>> 2009/4/2 stormcloud <email.forward.me@googlemail.com>:
>>> Hi,
>>>
>>> Is it possible to configure Hudson to publish multiple Junit test reports
>>> for each project. I have multiple projects and each one could have a:
>>>
>>> * Unit test report
>>> * Function test report
>>> * Performance test report
>>>
>>> Thanks,
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
>> For additional commands, e-mail: users-help@hudson.dev.java.net
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-test-reports-tp22842535p23072122.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: users-help@hudson.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

Kohsuke Kawaguchi
Administrator
If you can think of an improvement to the help text, please let us
know. We want the inline help to show you what you can do.

2009/4/16 slider3 <[hidden email]>:

>
> Thanks. I didn't know we could specify multiple paths. I'll try that.
>
> Mario
>
>
> Sami Tikka wrote:
>>
>> Maybe specify the paths to the wanted xml files:
>> results/unit-test-report/*.xml,results/function-test-report/*.xml,results/performance-test-report/*.xml
>>
>> Or did I misunderstand what you asked?
>>
>> The filename separator might also be space instead of comma. I don't
>> remember which. Hudson usually checks and warns if you use the wrong
>> one.
>>
>> -- Sami
>>
>> 2009/4/16 slider3 <[hidden email]>:
>>>
>>> How do you specify the path for the XML junit files if you have something
>>> like this:
>>> ...
>>>    * results\
>>>        * unit-test-report\
>>>        * funtion-test-report\
>>>        * performance-test-report\
>>>        * findbugs\
>>>        * emma\
>>>
>>> Notice that only the files in the 3 first folders under 'results' have
>>> valid
>>> xml junit/testng files. Putting something like: reports/**/*.xml would
>>> not
>>> work.
>>>
>>> Thank you.
>>>
>>>
>>> Sami Tikka wrote:
>>>>
>>>> Yes, Hudson reads all the JUnit XML files you tell it to read in job
>>>> configuration. It presents the contents of each test file separately
>>>> in test results page.
>>>>
>>>> -- Sami
>>>>
>>>> 2009/4/2 stormcloud <[hidden email]>:
>>>>> Hi,
>>>>>
>>>>> Is it possible to configure Hudson to publish multiple Junit test
>>>>> reports
>>>>> for each project. I have multiple projects and each one could have a:
>>>>>
>>>>> * Unit test report
>>>>> * Function test report
>>>>> * Performance test report
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Multiple-test-reports-tp22842535p23072122.html
>>> Sent from the Hudson users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-test-reports-tp22842535p23089469.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

slider3
It would have helped me if it had there something like this:
You can specify a list of patterns of files separated by commas.

I didn't get this to work with my project yet, though. The results that are not being loaded are testng results. I didn't do any research but I was under the impression that the testng results would be automatically loaded by hudson if I had specified them in the file pattern.

 
On Thu, Apr 16, 2009 at 11:02 PM, Kohsuke Kawaguchi <[hidden email]> wrote:
If you can think of an improvement to the help text, please let us
know. We want the inline help to show you what you can do.

2009/4/16 slider3 <[hidden email]>:
>
> Thanks. I didn't know we could specify multiple paths. I'll try that.
>
> Mario
>
>
> Sami Tikka wrote:
>>
>> Maybe specify the paths to the wanted xml files:
>> results/unit-test-report/*.xml,results/function-test-report/*.xml,results/performance-test-report/*.xml
>>
>> Or did I misunderstand what you asked?
>>
>> The filename separator might also be space instead of comma. I don't
>> remember which. Hudson usually checks and warns if you use the wrong
>> one.
>>
>> -- Sami
>>
>> 2009/4/16 slider3 <[hidden email]>:
>>>
>>> How do you specify the path for the XML junit files if you have something
>>> like this:
>>> ...
>>>    * results\
>>>        * unit-test-report\
>>>        * funtion-test-report\
>>>        * performance-test-report\
>>>        * findbugs\
>>>        * emma\
>>>
>>> Notice that only the files in the 3 first folders under 'results' have
>>> valid
>>> xml junit/testng files. Putting something like: reports/**/*.xml would
>>> not
>>> work.
>>>
>>> Thank you.
>>>
>>>
>>> Sami Tikka wrote:
>>>>
>>>> Yes, Hudson reads all the JUnit XML files you tell it to read in job
>>>> configuration. It presents the contents of each test file separately
>>>> in test results page.
>>>>
>>>> -- Sami
>>>>
>>>> 2009/4/2 stormcloud <[hidden email]>:
>>>>> Hi,
>>>>>
>>>>> Is it possible to configure Hudson to publish multiple Junit test
>>>>> reports
>>>>> for each project. I have multiple projects and each one could have a:
>>>>>
>>>>> * Unit test report
>>>>> * Function test report
>>>>> * Performance test report
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Multiple-test-reports-tp22842535p23072122.html
>>> Sent from the Hudson users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-test-reports-tp22842535p23089469.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Multiple test reports

Dean Yu
Re: Multiple test reports Hudson only understands Junit XML format natively. You’d need to make TestNG produce test results in this format.

  -- Dean


On 4/19/09 8:33 PM, "Mário Duarte" <slider3@...> wrote:

It would have helped me if it had there something like this:
You can specify  a list of patterns of files separated by commas.

I didn't get this to work with my project yet, though. The results that are not being loaded are testng results. I didn't do any research but I was under the impression that the testng results would be automatically loaded by hudson if I had specified them in the file pattern.

 
On Thu, Apr 16, 2009 at 11:02 PM, Kohsuke Kawaguchi <kk@...> wrote:
If you can think of an improvement to the help text, please let us
know. We want the inline help to show you what you can do.

2009/4/16 slider3 <slider3@...>:
>
> Thanks. I didn't know we could specify multiple paths. I'll try that.
>
> Mario
>
>
> Sami Tikka wrote:
>>
>> Maybe specify the paths to the wanted xml files:
>> results/unit-test-report/*.xml,results/function-test-report/*.xml,results/performance-test-report/*.xml
>>
>> Or did I misunderstand what you asked?
>>
>> The filename separator might also be space instead of comma. I don't
>> remember which. Hudson usually checks and warns if you use the wrong
>> one.
>>
>> -- Sami
>>
>> 2009/4/16 slider3 <slider3@...>:
>>>
>>> How do you specify the path for the XML junit files if you have something
>>> like this:
>>> ...
>>>    * results\
>>>        * unit-test-report\
>>>        * funtion-test-report\
>>>        * performance-test-report\
>>>        * findbugs\
>>>        * emma\
>>>
>>> Notice that only the files in the 3 first folders under 'results' have
>>> valid
>>> xml junit/testng files. Putting something like: reports/**/*.xml would
>>> not
>>> work.
>>>
>>> Thank you.
>>>
>>>
>>> Sami Tikka wrote:
>>>>
>>>> Yes, Hudson reads all the JUnit XML files you tell it to read in job
>>>> configuration. It presents the contents of each test file separately
>>>> in test results page.
>>>>
>>>> -- Sami
>>>>
>>>> 2009/4/2 stormcloud <email.forward.me@...>:
>>>>> Hi,
>>>>>
>>>>> Is it possible to configure Hudson to publish multiple Junit test
>>>>> reports
>>>>> for each project. I have multiple projects and each one could have a:
>>>>>
>>>>> * Unit test report
>>>>> * Function test report
>>>>> * Performance test report
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>> For additional commands, e-mail: users-help@...
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Multiple-test-reports-tp22842535p23072122.html
>>> Sent from the Hudson users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-test-reports-tp22842535p23089469.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Loading...