Accueil
Explorer
Soumettre la recherche
Mettre en ligne
S’identifier
S’inscrire
Check these out next
Automation testing: how tools are important?
MD ISLAM
I Smell A RAT- Rapid Application Testing
Peter Presnell
UI Automation Quirks
Lucas Pang
Reaching for Your Quality Stretch Goals: Testing at Realtor.com
Klaus Salchner
Testing regression
Richie Lee
Continuous everything
TEST Huddle
Testing Web Services - QA or the Highway 2016
Steinn 'Stan' Jónsson
A journey to a Full Stack Tester
KMS Technology
1
sur
14
Top clipped slide
Sustainable Automation Frameworks by Kelsey Shannahan
21 Feb 2016
•
0 j'aime
0 j'aime
×
Soyez le premier à aimer ceci
afficher plus
•
639 vues
vues
×
Nombre de vues
0
Sur Slideshare
0
À partir des intégrations
0
Nombre d'intégrations
0
Télécharger maintenant
Télécharger pour lire hors ligne
Signaler
Technologie
Kelsey Shannahan
QA or the Highway
Suivre
QA or the Highway
Recommandé
The limits of unit testing by Craig Stuntz
QA or the Highway
433 vues
•
53 diapositives
30 of the best free software test tools in 60 minutes by Jess Lancaster
QA or the Highway
911 vues
•
35 diapositives
Automated tests
Damian Sromek
443 vues
•
36 diapositives
Test automation lesson
Sadaaki Emura
179 vues
•
24 diapositives
The Art of Gherkin Scripting - Matt Eakin
QA or the Highway
6.1K vues
•
37 diapositives
Test Driven Development
ZendCon
2.1K vues
•
34 diapositives
Contenu connexe
Présentations pour vous
(20)
Automation testing: how tools are important?
MD ISLAM
•
65 vues
I Smell A RAT- Rapid Application Testing
Peter Presnell
•
1.5K vues
UI Automation Quirks
Lucas Pang
•
631 vues
Reaching for Your Quality Stretch Goals: Testing at Realtor.com
Klaus Salchner
•
716 vues
Testing regression
Richie Lee
•
885 vues
Continuous everything
TEST Huddle
•
990 vues
Testing Web Services - QA or the Highway 2016
Steinn 'Stan' Jónsson
•
684 vues
A journey to a Full Stack Tester
KMS Technology
•
3.4K vues
Manual, Visual, and Automated Testing For Web Apps
SmartBear
•
143 vues
Drupal 7 ci and testing
Claudio Beatrice
•
3.8K vues
Getting Started With Selenium
SmartBear
•
115 vues
Test Design + Environment Management: Scaling UI Automation for Agile
SmartBear
•
189 vues
Auditing Drupal Sites
Exove
•
5.4K vues
Making a Mock by Kelsey Shannahan
QA or the Highway
•
215 vues
TestWorksConf: Experience exploratory testing
Maaret Pyhäjärvi
•
531 vues
Writing better tests for your java script app
JakeGinnivan
•
178 vues
Five Easy Ways to QA Your Drupal Site
Mediacurrent
•
4.1K vues
5 Essential Tips for Load Testing Beginners
Neotys
•
2K vues
Introduction to Test Driven Development
Sarah Dutkiewicz
•
2.4K vues
Solving Flaky Automated Tests Using Machine Learning
James Farrier
•
111 vues
En vedette
(12)
Testing web services by Stan Jónsson
QA or the Highway
•
508 vues
Institute for Sustainable Technology
gdwaechter
•
336 vues
Smart Cities: Technologies for Efficient and Sustainable Cities
Community Protection Forum
•
1.4K vues
Advanced Software Test Automation
Unmesh Ballal
•
973 vues
Green technology
G.Karunakaran Memorial Co-operative College of Management and Technology, University of Kerala.
•
812 vues
Continuous integration
Lior Tal
•
2.4K vues
Software Testing for International Students
cristianoribeirosilva
•
659 vues
Test Automation and Continuous Integration
TestCampRO
•
2K vues
Distributed Testing Environment
Łukasz Morawski
•
4.2K vues
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Eliane Collins
•
2.1K vues
Continuous test automation
Viresh Doshi
•
1.6K vues
Building a Sustainable Technology Ecosystem and Cluster Bindi Karia
Webrazzi
•
3.6K vues
Similaire à Sustainable Automation Frameworks by Kelsey Shannahan
(20)
Agile testingandautomation
jeisner
•
386 vues
A Brief Introduction to Test-Driven Development
Shawn Jones
•
1.3K vues
Adopting Agile
Coverity
•
1.1K vues
A lean automation blueprint for testing in continuous delivery
Sauce Labs
•
260 vues
Load testing with Visual Studio and Azure - Andrew Siemer
Andrew Siemer
•
5.4K vues
Architecting govCMS: Australian Government as a Service -
David Peterson
•
752 vues
The Kanban Retrospective
Colleen Johnson
•
1K vues
Making disaster routine
Peter Varhol
•
34 vues
Lean, Kanban, and TFS
Imaginet
•
2.8K vues
Lean, Kanban and TFS
Imaginet
•
668 vues
An Introduction To Software Development - Final Review
Blue Elephant Consulting
•
332 vues
Agile Acceptance testing with Fitnesse
ClareMcLennan
•
5.2K vues
Using Machine Learning to Optimize DevOps Practices
Peter Varhol
•
409 vues
Protecting privacy with fuzzy-feeling test data
Matt Bowen
•
217 vues
Bugday bkk-2014 nitisak-auto_perf
Nitisak Mooltreesri
•
380 vues
Get lean tutorial
Marty Haught
•
1.8K vues
Artur Suchwalko “What are common mistakes in Data Science projects and how to...
Lviv Startup Club
•
84 vues
Software Defects and SW Reliability Assessment
Kristine Hejna
•
191 vues
No more excuses QASymphony
QASymphony
•
458 vues
Continuous Delivery & Testing Madrid AfterTest
Peter Marshall
•
1.1K vues
Plus de QA or the Highway
(20)
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
QA or the Highway
•
4 vues
Melissa Tondi - The Lazy Tester
QA or the Highway
•
36 vues
Jacob Haning and Andy Warns - Hyperautomation - The New Era of Digital Transf...
QA or the Highway
•
16 vues
Petros Plakogiannis - To BDD or not to BDD
QA or the Highway
•
46 vues
Ensemble Testing Creating A Mob A New Tester’s Journey to Getting People Toge...
QA or the Highway
•
123 vues
Quality Leadership, Testing, and Governance Tactics that Make or Break Your P...
QA or the Highway
•
50 vues
What to Avoid When Writing Unit Tests - Robert Fornal
QA or the Highway
•
55 vues
Scale your Testing and Quality with Automation Engineering and ML - Carlos Ki...
QA or the Highway
•
83 vues
Open Testing Slides - Andrew Knight
QA or the Highway
•
82 vues
Maturing Enterprise Quality - Sarala Pandey
QA or the Highway
•
66 vues
Align Testing with Business by Shifting Left & Right - Joel Montvelisky
QA or the Highway
•
57 vues
Continuous Performance Testing in DevOps - Lee Barnes
QA or the Highway
•
76 vues
Is This [Joke] Appropriate? - Damian Synadinos
QA or the Highway
•
35 vues
The Rise and Benefits of Robotic Process Automation - Thomas Haver
QA or the Highway
•
144 vues
Performance and Beyond - Leandro Melendez
QA or the Highway
•
48 vues
A Lifecycle Of Code Under Test by Robert Fornal
QA or the Highway
•
443 vues
Why Diversity, Inclusion, and Representation is Necessary in Tech and Quality...
QA or the Highway
•
243 vues
The Coach and The Geek: How to Coach, Test, Measure and Build an Accountable ...
QA or the Highway
•
228 vues
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
QA or the Highway
•
234 vues
Shift-Left Testing: QA in a DevOps World by David Laulusa
QA or the Highway
•
255 vues
Dernier
(20)
IBM Sustainability Software - Overview for Airlines (1).PPTX
ThinL389917
•
0 vue
Top 5 Tinder secrets of being the most ‘Desirable’ Salesforce consultant no o...
CzechDreamin
•
0 vue
Human Centred Design and Architecting a Solution that stands the test of time...
CzechDreamin
•
0 vue
20230608-日本SPT研討會_人工智慧與矯正.pdf
Yu-cheng Liu
•
0 vue
THE EVOLUTION OF HUMANITY'S GREATEST INVENTION, THE COMPUTER, AND ITS FUTURE.pdf
Faga1939
•
0 vue
HA and DR Architecture for HANA on Power Deck - 2022-Nov-21.PPTX
ThinL389917
•
0 vue
User adoption: The holy grail of change management, Andre van Kampen
CzechDreamin
•
0 vue
Real-time communication with Account Engagement (Pardot). Marketers meet deve...
CzechDreamin
•
0 vue
Be kind to your future admin self, Silvia Denaro & Nathaniel Sombu
CzechDreamin
•
0 vue
FinOps@SC CH-Meetup.pdf
Wuming Zhang
•
0 vue
Deep Dive into Dashboard Components, David Carnes
CzechDreamin
•
0 vue
Monitoring Automation Performance in Marketing Cloud Engagement, Daniela Vrbk...
CzechDreamin
•
0 vue
Introduction to Custom Journey Builder Activities, Orkhan Alakbarli
CzechDreamin
•
0 vue
How do you know you’re solving the right problem? Design Thinking for Salesfo...
CzechDreamin
•
0 vue
Ape to API, Filip Dousek
CzechDreamin
•
0 vue
Make Animated Stop Watch by PowerPoint School.pptx
richtom
•
0 vue
The Art of Discovery – Why Requirements Matter, Pallavi Agarwal
CzechDreamin
•
0 vue
Giving Back: How to Volunteer Your Salesforce Skills and Make a Difference, A...
CzechDreamin
•
0 vue
light source.ppt
SouvikMukherjee95
•
0 vue
Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...
CzechDreamin
•
0 vue
Sustainable Automation Frameworks by Kelsey Shannahan
Sustainable Automation Frameworks © 2016
CoverMyMeds LLC. All Rights Reserved.
Time to Get
Serious © 2016 CoverMyMeds LLC. All Rights Reserved. • The ultimate goal of testing is to allow our products to reach production faster and safer. • We can’t do this if we’re sinking time into maintaining our test suite. • This helps no one. • Our automated test framework should be lightweight and easy to resolve problems. • This allows us to get back to the more important task of actually ensuring the quality of our applications.
How do we
get there? © 2016 CoverMyMeds LLC. All Rights Reserved. • Page-object model • Step definition reusability • Data management • Other topics as my abstract promised
The Problem: Hardcoding ©
2016 CoverMyMeds LLC. All Rights Reserved. • There’s a lot of STUFF in the THING you’re testing • Lots of pages and objects on a web app • Lots of services in an API • Straight out of the box Google, most frameworks don’t have a good way to manage this STUFF • Then, when something changes, there is no one central repository to update and we wind up having to make fixes EVERYWHERE
The Solution: Page-Object
Model © 2016 CoverMyMeds LLC. All Rights Reserved. • So we call it page-object… but really it’s applying object orientation • For each logical group we’re testing, we have a class that describes it • This works for web apps • One page, one class • Or for APIs • One service, one class
What does this
do for us? © 2016 CoverMyMeds LLC. All Rights Reserved. • Makes our code reusable • We can even package it into a gem and share with other areas • Makes our code easy to update • One change can fix every failing test • Makes our code easy to understand • The code now reflects the system that is under test in a logical manner
The Problem: Too
Many Step Definitions © 2016 CoverMyMeds LLC. All Rights Reserved. • Someone creates some step definitions that do the thing. • Someone else creates another step definitions to do a thing. • Nobody checks to see if there’s an existing step that can do the thing. • Everyone just keeps adding more step definitions until there’s too many for a reasonable human being to search through.
Why does this
happen? © 2016 CoverMyMeds LLC. All Rights Reserved. • Step definitions aren’t written to do what they say. • Sure, there’s a step that says it does that… but it only partially does it. Or does some other thing. And it’s not what you actually need. • Step definitions are unclear. • You could spend an hour figuring out what that thing is supposed to be doing… or you could spend ten minutes writing your own step. • No one polices the step definitions. • Because we all really hate maintaining our test framework.
The Solution: No
One Quick Fix © 2016 CoverMyMeds LLC. All Rights Reserved. • Standards • Have a method of organization for your library • Define at what level you want your steps to be written • Everyone has to follow these! • Step definitions ARE NOT CODE • Structuring step definitions to represent coding logic results in many incomprehensible steps • Write step definitions to represent higher level business logic
The Solution: No
One Quick Fix © 2016 CoverMyMeds LLC. All Rights Reserved. • Review your step definition library regularly • This should be a quick check that can be done as part of the normal process of writing tests • If you’re having to make time or use special tools to manage your library… your library is probably too big • Get it under control and keep it under control • Abstract your steps • Don’t make your steps dependent on data • Instead, let data drive the test
The Problem: Data
Management © 2016 CoverMyMeds LLC. All Rights Reserved. • If your framework consists of objects and your steps are flexible and business-oriented… data becomes the driver for testing • Data is no longer locked in as part of the step definition, so we can load different data for each test • So how do we manage large amounts of data?
The Solution © 2016
CoverMyMeds LLC. All Rights Reserved. • Have a consistent, easy-to-use way of loading data into your test • Helper methods? • Dump it into a fixture in a hook? • Use descriptive naming for your data sets • Reuse data where possible • Make default data for stuff you don’t care about • Creating a new test becomes as simple as changing the data around
How to Keep
it Pretty © 2016 CoverMyMeds LLC. All Rights Reserved. • Be disciplined • Don’t put off tomorrow what you should really be doing today • Have a hierarchy of changes • Change the data • Change the gherkin • Change the step definition • Change the page-object
How to Keep
it Pretty © 2016 CoverMyMeds LLC. All Rights Reserved. • Know what’s in your test suite and trust it to do it’s job • Use all the resources available • Don’t write unit tests with a GUI-driven test suite • Not everything needs an automated test