I'm working on a CS extension project, and I'd like to add unit testing to the project. I see that the extension project doesn't support FlexUnit. Is there a way to add unit testing to a extension project?
You can certainly use FlexUnit. Add the libraries to your project and test away.
What we normally do, depending on the overall project requirements, is put as much of the core/logic as we can in a library. Then we write both an Air app and an Extension that are intended to execute unit tests against that library. The Air app tests the functionality that is not dependent on a host application (PS, AI, ID...).
Depending on your project, you may or may not be able to use an Air app for testing (CSXS calls are not supported from Air).
Europe, Middle East and Africa