Just a short comment on this ... I just looked at my test-cases and all of my *Test.as files extend "flexunit.framework.TestCase" and have the name-prefix "test" on any executed test. "public function testJustText():void" or "public function testDescriptionAndLineup1Floor3Artists():void".
I just had a look and it seems that in Flexunit 0.9 is configured the way I did it. If you are using Flexunit4 you have to use MetaData. The Flexunit Start-Page illustrates this: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit Chris 2012/3/1 Jason Perry <[email protected]>: > Hey guys, > > @Stephen - They are all name *Test.as. I don't think any of them use > a parameterized test runner. > > @anthony - The weird thing is the tests that run don't have the [Test] > annotation. I'll try and attach a sample class file. > > As far as how I'm running them I'm not doing anything special with the > flexmojo configuration. It's pretty close to what you get from the > archetype. > > Any other ideas? > > Thanks, > Jay > > On Feb 28, 3:13 am, "[email protected]" > <[email protected]> wrote: >> Any chance you could send a sample class file not running >> >> could also be the tests them self not having [Test] annotations next >> to them >> >> package BLAH >> { >> // misc imports >> public class AnyOldStartingClassnameEndingInTest >> { >> [Test] >> public function anyOldTestName():void { >> assertTrue(true); >> >> >> >> >> >> >> >> } >> } > > -- > 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/ -- 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/
