Showing posts with label flexunit. Show all posts
Showing posts with label flexunit. Show all posts

Sunday, 17 October 2010

FlexUnit from both FlashBuilder and FlexMojos for library projects

FlashBuilder leaves its FlexUnitTestRunnerUI files in "src".
For packaging:swf FlexMojos projects, that's fine (*1), it builds them.
*1: OK, it may not be all that fine but it doesn't cause failure.
For packaging:swc FlexMojos projects, they fail with "Type was not found" etc errors! How to fix, after the break...

Monday, 7 December 2009

Async FlexUnit 4 testing

So the JSONCallHelper() of the last post needs better testing.
I gave it the following signature...
public static function JSONCall(urlQuery:String, responder:IResponder):void
...but then went looking for how to test in FlexUnit 4.