Community developer events

Using Mock Objects in a Flex Application

Date
Fri, 13 Nov 2009, 19:00 - 21:00 (Add to calendar) GMT
Venue
(Exact location not available) , Atlanta, US
Cost
Free

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]

  • 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)
  • [/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

    Leave a comment

    Sign in or Join us (it's free).

    Map

    Other nearby events

    • Dec 4

      December Scala Meetup

      1km away in Atlanta

      We will be meeting in the board room at our new meeting place at the Holiday Inn Select near Perimeter where the Atlanta Java Users Group meets. This time we will be having multiple smaller presentations instead of single lengthy one. I will be presenting the ScalaTest framework for authoring readable Specs and Tests. Gabriel will be presenting on DSLs in Scala. Charles will give a presentation on using function currying to construct custom control structures.

    • Dec 9

      AWSome Atlanta (Cloud Computing User's Group) December Meetup

      1km away in Atlanta

      Agenda: 7:00 "Cloud Camp Planning Meeting" 7:15 "New Amazon Web Services Overview" Rescheduled from last month Keith will be covering some of the new AWS services provided by Amazon. Including the new Auto Scaling, Load Balancing, and monitoring services. He has some first hand experience using the new API's with a local startup.

    • Dec 11

      Quick Wins: Performance Tuning + 3rd Party Patches for MySQL

      1km away in Atlanta

      Please take note that we will not be meeting on the first Thursday of the month in December. Instead, we are meeting on the second Thursday (December 10th). Presented by Morgan Tocker, world-renowned MySQL Expert at Percona, Inc. Morgan Tocker is Director of Training at Percona where he provides world famous scaling advice to Web 2.0 and Fortune 100 clients.

    • Dec 17

      Year End Party / Black Screen Social

      3km away in Atlanta

      [h2]It's been a great year for the AWDG, let's end it in style![/h2] This will be our last event of the year so don't miss it. We're headed to Eclipse de Luna for another great social mixer to cap 2009 with a few drinks and some great conversation. "Black Screen" means we focus on each other instead of a speaker or presentation. This will be a great chance for all of the AWDG regulars to get to know each other a little more.

    • Dec 11

      Restarting the Atlanta JavaScript Meetup at Ignition Alley

      4km away in Atlanta

      After a lengthy hiatus An upcoming Atlanta JavaScript Meetup has been scheduled At Ignition Alley. The topics for the meetup are still being reviewed, so follow this link to a survey to help determine the most interesting topics. / RSVP... Look forward to seeing you there!

    Related podcasts

    • Agile Kaikaku

      In this episode, I conclude my discussion with Owen Rogers on the topic of introducing an Agile Kaikaku, or a radical process change event within an organization. Owen is an Agile coach and has helped many teams adopt Agile practices.Bet you couldn't test without it… Click here to learn more!This...

    We'd love to hear what you think! Submit ideas or give us feedback