Can I use FlexUnit with Flash Professional?
Thanks to patrickmowrer.com for the info on this one.
The answer is 'Yes,' but you have to jump through a small hoop beforehand. If you attach the FlexUnit .swc file to the project and run, you may get an error that reads like the following:
initializationError Error: No runnable methods at org.flexunit.runners::BlockFlexUnit4ClassRunner/validateInstanceMethods()
The problem is that Flash Professional is stripping all the metadata in the process. When using the Flex SDK, we merely add commands to the compiler, ensuring that it will not strip any metadata. In this case, that option is not available, but one that is simpler and less precise can be used. Check the 'Export SWC' in the 'Publish Settings' dialogue.
With this option checked, all custom metadata will be left alone during compilation.