Line 375 only runs when you have code coverage.

On Tue, Nov 9, 2010 at 2:44 PM, JoshJ <[email protected]> wrote:

> Taking a look at TestRunMojo.java it looks like setting something like
> this up wouldn't be too hard at all. First I would need to create a
> new option (like "outputToConsole") for unit testing and then I would
> just need to use getLog() to output a summary result for each test
> coverage around line 375 in TestRunMojo if that option is specified,
> right?
>
> Josh
>
> On Nov 9, 10:30 am, Marvin Froeder <[email protected]> wrote:
> > https://github.com/Flexmojos/flexmojos/tree/flexmojos-4.x/flexmojos-m...
> >
> > VELO
> >
> > On Tue, Nov 9, 2010 at 2:17 PM, JoshJ <[email protected]> wrote:
> > > Alright, as always I appreciate your quick response.
> >
> > > If I wanted to write this myself, what source files should I start
> > > looking at? I've never had a chance to look at the FlexMojos code yet.
> >
> > > Josh
> >
> > > On Nov 8, 11:34 am, Marvin Froeder <[email protected]> wrote:
> > > > Ow, I see, no, there is no such option...
> >
> > > > You can file a ticket for that, but I have no idea if I will have the
> > > time
> > > > to do that.  If you decide to do yourself....
> > >http://github.com/Flexmojos/flexmojos
> >
> > > > VELO
> >
> > > > On Mon, Nov 8, 2010 at 3:11 PM, JoshJ <[email protected]>
> wrote:
> > > > > Surefire has an option for whether to spit out the unit tests to a
> > > > > file or to the console:
> >
> > > > >
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#.
> > > ..
> >
> > > > > Is there an option like this for unit testing in FlexMojos? I saw
> that
> > > > > surefire is not used at all for FlexMojos but it would be really
> cool
> > > > > if a summary of each of the failed FlexUnit tests would spit out to
> > > > > the console rather than having to open the surefire-reports xml
> file
> > > > > every time... especially to easily see results in Bamboo builds.
> >
> > > > > Right now, when I get a failed test in FlexUnit, all I see is the
> > > > > class that failed and not which test or why.
> >
> > > > > Josh
> >
> > > > > On Nov 7, 2:06 pm, Marvin Froeder <[email protected]> wrote:
> > > > > > Sorry, but useFile?
> > > > >
> http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS..
> > > ..
> > > > > ..
> >
> > > > > > What is that?
> >
> > > > > > VELO
> >
> > > > > > On Sun, Nov 7, 2010 at 5:01 PM, JoshJ <[email protected]>
> > > wrote:
> > > > > > > Hey all, I've been scouring the internet for any information on
> how
> > > to
> > > > > > > get FlexMojos to output FlexUnit test results to the console
> > > instead
> > > > > > > of to the file in the surefire-reports folder.
> >
> > > > > > > [I tried setting the surefire useFile= false but apparently
> > > flexmojos
> > > > > > > doesn't use surefire for test output?]
> >
> > > > > > > We have a Bamboo build process and can easily see the entire
> > > console
> > > > > > > output of a build process but right now all we see is that a
> unit
> > > test
> > > > > > > failed and then have to dig up the report to get information.
> If
> > > > > > > possible, it would be great if we could see test output in the
> > > > > > > console.
> >
> > > > > > > Is there any way to do this?
> >
> > > > > > > --
> > > > > > > You received this message because you are subscribed to the
> Google
> > > > > > > Groups "Flex Mojos" group.
> > > > > > > To post to this group, send email to
> [email protected]
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > [email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> >
> > > > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> >
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/flex-mojos
> >
> > > > > > >http://flexmojos.sonatype.org/
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "Flex Mojos" group.
> > > > > To post to this group, send email to [email protected]
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> >
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/flex-mojos
> >
> > > > >http://flexmojos.sonatype.org/
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Flex Mojos" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<flex-mojos%[email protected]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex-mojos
> >
> > >http://flexmojos.sonatype.org/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to