Upload
tritaug
View
228
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Many of the problems we face in Automated Testing aren't unique. They are problems we've seen before and will see again. Knowing these patterns helps us more quickly understand what will and won't work in a given situation. This presentation will go over 9 patterns in automated testing. Most of them are domain independent -- they are common across different businesses, technology stacks, and architectures. Join us to learn nine automated testing patterns and get access to many others. About the speaker: Paul Merrill is a Consultant and Trainer for Beaufort Fairmont. He's spent the last 12 years developing applications for a wide range of industries, from Healthcare to Advertising to Mobile. Paul spends his time working to "rid the world of bad code" through training and player-coach engagements working with companies to automate their testing efforts and use software engineering best practices. Beaufort Fairmont is the software industry's source for automated testing player-coach engagements, consulting, and training. Our engineers have a passion for simplifying the complicated process of automated testing, allowing companies to take advantage of the many benefits of automated quality assurance. For more information, visit us at www.beaufortfairmont.com.
Citation preview
9 Patterns in AutomatedTesting
Paul Merrill
Consultant, TrainerBeaufort Fairmont
What’s the next number?
{2, 4, 6, …}{1, 2, 3, 5, …}
{2, 3, 5, 7, 11, …}{3, 1, 4, 1, 5, …}
Copyright Beaufort Fairmont, LLC, 2013
They are…
{2, 4, 6, 8, 10} – Even Numbers1, 2, 3, 5, 8, 13} - Fibonacci Sequence
2, 3, 5, 7, 11, 13, 17} – Primes3, 1, 4, 1, 5, 9, 2} - Digits of Pi
Which of these are patterns?
Copyright Beaufort Fairmont, LLC, 2013
What is a Pattern?
Copyright Beaufort Fairmont, LLC, 2013
pattern 1 (ˈpæt " n) — n
1. an arrangement of repeated orcorresponding parts, decorativemotifs, etc: although the notes seemed random, acareful listener could detect a pattern
**World English Dictionary
Copyright Beaufort Fairmont, LLC, 2013
Copyright Beaufort Fairmont, LLC, 2013
Working Definition:
Something we’ve experienced multipletimes and from which we’ve learned
Copyright Beaufort Fairmont, LLC, 2013
David Kolb’s Learning Cycle
Copyright Beaufort Fairmont, LLC, 2013
AutomationPatterns.org
Copyright Beaufort Fairmont, LLC, 2013
The Break-down
• Framework Design• Test Case Design• Infrastructure• Behavioral
Copyright Beaufort Fairmont, LLC, 2013
Isolate Test Cases
Copyright Beaufort Fairmont, LLC, 2013
Test Case Fails for Oneand Only One Reason
Copyright Beaufort Fairmont, LLC, 2013
Pass or Fail Only
Copyright Beaufort Fairmont, LLC, 2013
AntiPattern - Record andPlayback
Copyright Beaufort Fairmont, LLC, 2013
Developers Can Run Tests
Copyright Beaufort Fairmont, LLC, 2013
Integrate Test Cases intoContinuous Integration
Copyright Beaufort Fairmont, LLC, 2013
Create Test Environmentwith Single Button Press
Copyright Beaufort Fairmont, LLC, 2013
AntiPattern - l33t automationarchitect
Copyright Beaufort Fairmont, LLC, 2013
Write Test Cases Fast
Copyright Beaufort Fairmont, LLC, 2013
Patterns that don’t exist
The human tendency to see patterns that
do not actually exist is calledapophenia.
Misperception of patterns in random
data is called pareidolia.
Copyright Beaufort Fairmont, LLC, 2013
Paul MerrillConsultant &
Trainer@dpaulmerrill
9 Patterns in AutomatedTesting
Paul Merrill
Consultant, TrainerBeaufort Fairmont