Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automation Isn't All Shiny Toys

Jim Holmes
October 07, 2011

Automation Isn't All Shiny Toys

Building a suite of automated tests for your project is a critical aspect of success—it can also be a contributor to your project’s failure if you don’t approach testing with the same care you take with the system you’re delivering. This talk covers fundamental topics including setting up the right infrastructure, treating your test code the same as your production code, dealing with maintainability issues, and handling long-running test suites. The talk is targeted primarily at functional tests; however, we’ll also discuss how the same concepts apply to integration and unit tests. You’ll leave this talk having learned practical, proven ways to avoid common automation pitfalls.

First presented at StarWEST 2011.

Jim Holmes

October 07, 2011
Tweet

More Decks by Jim Holmes

Other Decks in Programming

Transcript

  1. “All of a sudden those 3,000 manual test cases aren’t

    looking so bad.” Thursday, October 6, 11
  2. 800 tests * 30 sec/test == 24000 secs (400 mins

    or SIX HOURS) Thursday, October 6, 11
  3. Nav to app Log on Validate logged on Click New

    Contact Enter valid data Click Submit Verify Saved Perform Test Open new contact 30 seconds Thursday, October 6, 11
  4. Nav to app Log on Validate logged on Click New

    Contact Enter valid data Click Submit Verify Saved Perform Test Open new contact Helper: Create User 20 seconds Thursday, October 6, 11
  5. Nav to app Log on Validate logged on Click New

    Contact Enter valid data Click Submit Verify Saved Perform Test Open new contact Helper: Create User Bypass logon 15 seconds Thursday, October 6, 11
  6. Nav to app Log on Validate logged on Click New

    Contact Enter valid data Click Submit Verify Saved Perform Test Open new contact Helper: Create User Bypass logon 10 seconds Nav direct to form Thursday, October 6, 11
  7. Perform Test Helper: Create User Bypass logon 12 secs to

    run How long to write? Nav direct to form Plus Visual Checks Thursday, October 6, 11