The usage of mock objects in a Flex application may represent a very powerful way to improve development speed and increase the quality of the tests you will prepare. A mock object can simulate the behavior of complex, real (non-mock) objects and are therefore useful when a real object is not yet available (server side development is late!) or when a real object is impractical or impossible to incorporate into a unit test, the Mocker class we¹ll discuss during this session is an easy way to create tons of mock objects with few line of codes and with a predictable behavior. It may be useful to use a mock object in its place:
[list]
Learn how to generate mock objects with our open source solution inspired by mockito! Session level: intermediate
Presenter: Giorgio Natili of gnstudio.com
Comments