Hi I am loving flex unit and wanted to use it on a air app I developed a few months back.
I added an new application.mxml file to the project and added the TestRunnerBase and a ref to FlexUnitCore.
When I try to debug the app, the debugger starts but the app never becomes visible. I can see the process in windows explorer but can not see the app on the screen. If I take out the reference to FlexUnitCore it runs fine. Of course the tests can not run. Am I doing something wrong or is Air not supported?
Any pointers appreciated.
You may be using an outdated version of FlexUnit, check out this example mxml from the most current master version over at github. http://github.com/flexunit/flexunit/blob/master/FlexUnit4SampleCIProject/src/test/flex/Air TestRunner.mxml
If you don't see that an AirCIListener is available to use, then download the latest source from here : http://github.com/flexunit/flexunit or if you just want the compiled .swcs to add to your project you can grab them here http://flexunit.digitalprimates.net:8080/job/FlexUnit4-Flex3.5/lastSuccessfulBuild/artifac t/flexunit-4.0.0.zip
One last question: Are you building FlexUnit yourself or using a pre-built swc?
It almost sounds like your FlexUnit.swc has some classes linked into it that should not be there/may be conflicting with AIR.