For some time now I have had most of my code in libraries, and two tiny application projects, one with mock services instantiated, the other with actual services. I figured that this way the release SWF would not contain the mock classes.
I was considering using conditional compilation instead, but it looks as though you can't wrap an import statement in CONFIG::Mock. Will imported classes be stripped out if they are not instantiated? Any better approaches, or should I stick with mine?