|
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, |
|
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] |
|
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.
|
|
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] |
|
Thanks. I didn't know we could specify multiple paths. I'll try that.
Mario
|
|
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] |
|
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 |
|
-- 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: |
| Powered by Nabble | Edit this page |
