Unit tests (Part 3)

I was meant to finish this article ages ago, sorry for the late response. I was going to talk about my experiences when using Flex Unit and ASUnit. Both have there strong and weak points and each can be easily broken down to nth degree, but I’ll just say it extremely simply. If you want to use a CIServer then from my experience then use Flex Unit, it’s more tightly integrated with various servers. I’m not saying that ASUnit doesn’t integrate with a CIServer, I’m saying that Flex Unit currently does it a lot better. Flex Unit will tackle both pure ActionScript and Flex, so should be able to tackle anything you can throw at it. ASUnit will mainly tackle ActionScript, I’ve not tried it out with Flex, just because I’ve not had the time. Let me know if you have!

Also to note that if you like metadata with in your flash apps then Flex Unit will also be a benefit. I’m not a huge fan as I can’t use static naming for the strings within metadata and you have to be hugely careful about how you spell things, also I like the DRY principal where you write once! Failure of the language if you ask me.

Comment are closed.