Heh, unfortunately throwing in the towel is not an option. I'm finding ways to test what I need to, even if it requires modifying code to make it more easily tested.
The only way (I found) to get around the issue you mentioned was to use the testing-promises-as3 library I mentioned in the first post. The test has to be asynchronous, and the limitation is that it seems you can only test a single promise chain. This was problematic for me because I wanted to test a cache/refresh feature of the code, but calling specific method and using the TestingPromise framework resulted in errors that I have been unable to resolve. Once I get some more of tests written, I'll try to post on here a few examples in case others venture down the promises path and need some help. Michael -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/promises-as3-TestingPromise-and-Mockolate-tp6426p6437.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
