I'm using AsUnit for unit-testing my current AS3 project. My Main()
is basically:
if ( UnitTest )
runUnitTests();
else
runMainProgram();
where I change UnitTest
before building depending on whether I want to run the program or run the unit tests. Is there a way that makes it easier to switch between the two modes?
Optimally, I'd use F5 for building with UnitTest=false
and another hotkey for building with UnitTest=false
. What is the closest I can get with FlashDevelop?