Join Flex Meetup Group

You'll get invited to our Meetups as soon as they're scheduled!

Using Mock Objects in a Flex Application

Nov 23
Mon 2:00 PM
Location
Online meeting over Adobe Connect

http://adobechats.adobe.acrobat.com/flexmeetup/
Atlanta, GA 30301

This is a private home or office

Estimated attendance
 17  people attended.
5.00 5.002

Who organized?
John Mason

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:


  • Supplies non-deterministic results (e.g. the current time or the
    current temperature)
  • Has states that are difficult to create or reproduce (e.g. a network
    error)
  • Is slow (e.g. a complete database, which would have to be initialized
    before the test)
  • Does not yet exist or may change behavior;
  • Would have to include information and methods exclusively for testing purposes (and not for its actual task)

Learn how to generate mock objects with our open source solution inspired by mockito!
Session level: intermediate

Presenter: Giorgio Natili of gnstudio.com

Photos of this Meetup

No photos yet.

Talk about this Meetup