I was at the Flex and the City conference today and really found it interesting and helpful, thank you. Your talk at the end was especially relevant as I’ve recently been asked to implement unit testing on a range of ActionScript classes, but ideally we’re wanting to completely automate the process (i.e. build, unit tests, deployment, etc). There’s little out there in the form of tutorials or getting started guides, which is why I mentioned to one of the organisers that it’d be great to have an expanded talk from yourself at some point. In any case I hope you post the slides regardless.
Anyway, I’ve started with FlexUnit4 but am experiencing weirdness with it. If needing to test a loaded sub-swf then what should fit where when it comes to [Before] and [Test] areas (and can the async nature of these cause failed results)? I’m finding my tests are failing to load the sub-swf in the first place (times out even though the file is local and I’ve a long timeout specified). The scenario is that I’m working with a swf which gets loaded into a range of proper applications and then those main apps are able to call the methods within the sub-swf, so my unit tests need to initially replicate loading that sub-swf in in the first place before testing its methods.
I tried to hang around to ask you today but you were surrounded in the bar area after your talk!
No worries if you can’t answer the above (I appreciate it’s a lengthy question); I only wish there was more help out there of the variety that you already know about (FlexUnit4, Hudson, TDD, XVNC etc).
Hi Conrad,
I was at the Flex and the City conference today and really found it interesting and helpful, thank you. Your talk at the end was especially relevant as I’ve recently been asked to implement unit testing on a range of ActionScript classes, but ideally we’re wanting to completely automate the process (i.e. build, unit tests, deployment, etc). There’s little out there in the form of tutorials or getting started guides, which is why I mentioned to one of the organisers that it’d be great to have an expanded talk from yourself at some point. In any case I hope you post the slides regardless.
Anyway, I’ve started with FlexUnit4 but am experiencing weirdness with it. If needing to test a loaded sub-swf then what should fit where when it comes to [Before] and [Test] areas (and can the async nature of these cause failed results)? I’m finding my tests are failing to load the sub-swf in the first place (times out even though the file is local and I’ve a long timeout specified). The scenario is that I’m working with a swf which gets loaded into a range of proper applications and then those main apps are able to call the methods within the sub-swf, so my unit tests need to initially replicate loading that sub-swf in in the first place before testing its methods.
I tried to hang around to ask you today but you were surrounded in the bar area after your talk!
No worries if you can’t answer the above (I appreciate it’s a lengthy question); I only wish there was more help out there of the variety that you already know about (FlexUnit4, Hudson, TDD, XVNC etc).
All the best
Wayne
Hi Conrad,
Ca you setup a RSS feed for this so people can subscribe to updates,
Cheers,
Claudiu
Yes, a RSS feed would be nice.