asunit

AsUnit verses FlexUnit – which is "better"?

I'm learning ActionScript/Flex at the moment, and it's come time for me to start unit testing. My reading shows that there are two main frameworks out there: FlexUnit and AsUnit. Is there any reason to learn one over the other? Is one, in some way, "better"? ...

Run AsUnit runner from Ant

How can you run AsUnit test runner from Ant? I'm on the Mac OS so I use: open -a "flash player" tests.swf How can I make this cross platform? ...

Unit testing a library with AsUnit in Flex Builder

I've been trying to setup a working method for unit testing flex libraries using Flex Builder. I have tried setting up a standard flex lib project and using Ant to compile and run the units tests. But this means that when something does go wrong and I want to use the flex builder debugger I cannot do so. So my next plan is to setup the...