T3 Test Automation 5/8/2014 9:45:00 AM Patterns of Automation: Simplify Your Test Code Presented by: Jeff Morgan LeanDog Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ [email protected]∙ www.sqe.com
Many organizations are introducing test automation only to discover it is more difficult than they anticipated. The fact is that good test automation requires good coding practices. Good test automation requires good design. To do anything else will lead to spaghetti code that is hard to maintain or update. If you’re new to coding or new to automation, it is difficult to know where to begin. Join Cheezy as he describes and demonstrates lessons he has learned while helping numerous organizations adopt test automation. Cheezy shows the patterns he uses to keep automation code simple and clean, and demonstrates techniques you can use to make your automation code more maintainable. Finally, Cheezy writes code (without a net) to implement these patterns, taking them from theory to implementation.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
T3
Test Automation
5/8/2014 9:45:00 AM
Patterns of Automation: Simplify
Your Test Code
Presented by:
Jeff Morgan
LeanDog
Brought to you by:
340 Corporate Way, Suite 300, Orange Park, FL 32073
Chief technology officer and a cofounder of LeanDog, Jeff “Cheezy” Morgan has been teaching classes and coaching teams on agile and lean techniques since early 2004. Most of his work has focused on the engineering practices used by developers and testers. For the past few years Cheezy has experienced great success and recognition for his work focused on helping teams adopt Acceptance Test Driven Development using Cucumber. He has authored several popular Ruby gems used by software testers and the book Cucumber & Cheese-A Testers Workshop.
Copyright 2012 LeanDog, Inc. All Rights Reserved. Do not copy or distribute without permission.
Life is good
Why Automate?
Manual Testing (not ET)
1
Manual Testing (not ET)
11.5
Manual Testing (not ET)
11.5
2.2
Manual Testing (not ET)
11.5
2.23.0
4.0
5.36.4
Test What?
Test What?• Functionality
Test What?• Functionality
• Cross-Browser
Test What?• Functionality
• Cross-Browser
• Responsive Design
Test What?• Functionality
• Cross-Browser
• Responsive Design
• Mobile Devices
Test What?• Functionality
• Cross-Browser
• Responsive Design
• Mobile Devices
• Security
Test What?• Functionality
• Cross-Browser
• Responsive Design
• Mobile Devices
• Security
• Accessibility
Test What?• Functionality
• Cross-Browser
• Responsive Design
• Mobile Devices
• Security
• Accessibility
• Load and Performance
Allows time to Explore• Functionality
• Cross-Browser
• Responsive Design
• Mobile Devices
• Security
• Accessibility
• Load and Performance
What are Patterns?
Pattern
A pattern, apart from the term's use to mean "Template"[a], is a discernible regularity in the world or in a manmade design. As such, the elements of a pattern repeat in a predictable manner.! - Wikipedia