Not really.

P.S: If you added some copy-task to the root project that copied all the
surefire-reports to the root project you could run surefire-reports over
the aggregate. But you're not going to get 

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

Kristian


on., 24.08.2011 kl. 17.06 +0000, skrev Newman, John W:
> Sending this just one more time as I am still stuck on this.  Anyone
> have any ideas?
> 
>  
> 
> We have the following project layout
> 
>  
> 
> parent/pom.xml
> 
>     child1/pom.xml
> 
>           src/test/java
> 
>                TestOne.java
> 
>                TestTwo.java
> 
>     child2/pom.xml
> 
>            src/test/java
> 
>                 TestMore.java
> 
>                 TestAgain.java
> 
>  
> 
> Building the parent project goes off and builds all of the child
> modules, invokes each child’s test cases, and reports that they have
> succeeded at that level.  The aggregator project does not have or need
> any test cases itself.
> 
>  
> 
>   child1/
> 
>         Results :
> 
>         Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
> 
>         BUILD SUCCESSFUL
> 
>   child2/
> 
>         Results :
> 
>         Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
> 
>         BUILD SUCCESSFUL
> 
> BUILD SUCCESSFUL
> 
>  
> 
> That’s fine so far – that’s the way I’d like it to work.   We are
> using TFS team build to invoke nightly builds of the aggregator, and
> the thing is just saying “no tests, no test results”, since it’s
> building the aggregator project and not the child modules
> individually.  If i change it to build the children one at a time, I
> get those test results right on the dashboard.  My question is, is
> there a way to have the aggregator project collect and aggregate the
> test results from the children, such as:
> 
>  
> 
>   child1/
> 
>         Results :
> 
>         Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
> 
>         BUILD SUCCESSFUL
> 
>   child2/
> 
>         Results :
> 
>         Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
> 
>         BUILD SUCCESSFUL
> 
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
> 
> BUILD SUCCESSFUL
> 
>  
> 
> $ ls ~/parent/target/surefire-reports
> 
>       TestOne.txt
> 
>       TestOne.xml
> 
>       TestTwo.txt
> 
>       TestTwo.xml
> 
>       TestMore.txt
> 
>       TestMore.xml
> 
>       TestAgain.txt
> 
>       TestAgain.xml
> 
>  
> 
> In searching online I’m seeing things like –Daggregate=true but it
> doesn’t seem to do anything.  Is there any way to accomplish this with
> the surefire plugin?  Latest version.
> 
>  
> 
> Thanks!
> 
> John
> 
>  
> 
>  
> 
> John W. Newman
> 
> Programmer
> 
> 
> Description: C:\Users
> \newmjw\AppData\Local
> \Microsoft\Windows
> \Temporary Internet
> Files\Content.Outlook
> \TKMGHKML\d3via_logo
> (2).gif
> 
> 
> 5750 Centre Avenue,
> Suite 500
> 
> 
> Pittsburgh, PA 15206
> 
> 
> Tel  412-204-0116
> 
> 
> [email protected]
> 
> 
> www.d3onc.com
> 
> 
> Fax 412-365-0749
> 
> 
>  
> 
> This e-mail may contain
> confidential
> information of the
> sending organization.
> Any unauthorized or
> improper disclosure,
> copying, distribution,
> or use of the contents
> of this e-mail and
> attached document(s) is
> prohibited. The
> information contained
> in this e-mail and
> attached document(s) is
> intended only for the
> personal and
> confidential use of the
> recipient(s) named
> above. If you have
> received this
> communication in error,
> please notify the
> sender immediately by
> e-mail and delete the
> original e-mail and
> attached document(s).
> 
> 
> 
>  
> 
>  
> 
> 



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

Reply via email to