0 Replies Latest reply on Sep 24, 2010 6:24 AM by srirama.83

    Unit testing for as2 application

    srirama.83 Level 1

      Hi,

       

      I am trying to implement automated unit testing for as2 based application. I searched lot but could only find asUnit.It looks good but very few documents to explain how it works.I understood the basic concept of it and also implemented simple things like writing a test case for some functions of mathematical operations(http://www.flashcodersny.org/wordpress/?p=103).I need to write complex test cases where the output is based on many functions, or even I have to test the graphical representation I find it very difficult.Also for testing a behavior on a button click seems to be difficult.

       

      Can anybody suggest me on how to carry out Unit testing for flash based application (not flex) using asUnit or any other tool in detail. it would be great if there are some examples available.

       

      Thanks,

      Sriram