Still learning FlexUnit. I'm following this example: http://www.adobe.com/devnet/flex/articles/flashbuilder4_tdd.html. This seemed to work but I'm pretty sure was using the FlexUnit libraries that ship with FB.
Then I copied the files to flex-asjs and am trying to get it to run there by pointing to the FlexUnit source kit. It can't find <flexui:FlexUnitTestRunnerUI id="testRunner"> That led me to discover that the "main" target doesn't build the uilistener target. Should it? I ran the "listeners" target which build the uilisteners target then failed on the FlexUnit4AirCIListener project because it doesn't look like it uses the air-config.xml. But still, the compiler can't find FlexUnitTestRunnerUI. It looks like the uilistener target doesn't put it into the swc. FlexUnitTestRunnerUI seems to be in the test folder and not the src folder. Is all that supposed to work? Anyway, I gave up and followed http://blog.yoz.sk/2012/01/quicktip-flexunit-and-ant/ I got deprecation warnings about using TestRunnerBase directly, but I couldn't find any more information on how to do that. But that example worked and ran a test and reported the failure when I purposefully made it fail. I didn't try using the ant tasks yet. I'm just running a SWF so the test runner does not auto-exit. I'll try to figure that out some other day. So, I'm not sure what I should vote because I don't know if this package is meeting expectations. I didn't go and grab FlexUnit 4.1 to compare. I'm out of time for now. Gotta get my ApacheCon slides submitted first. -Alex On 3/22/14 9:36 PM, "Alex Harui" <aha...@adobe.com> wrote: > > >On 3/22/14 5:46 PM, "Justin Mclean" <jus...@classsoftware.com> wrote: > >>Hi, >> >>> I found that I can set my ANT_OPTS like this: >>> export ANT_OPTS='-Xms512m -Xmx512m -Djsse.enableSNIExtension=false' >> >>This also works: >>export ANT_OPTS="-Djsse.enableSNIExtension=false" >> >>Unless github fix their SSL not sure what else we can do. >We could try to find these SWCs from somewhere else. For >FlexUnit1Lib.swc, I might be able to host it on Open@Adobe. Not sure >about fluint. > >We could also try to get the sources donated so we don't have this >dependency. > >I think it might be ok to just note this in the release notes. > >-Alex >