UrbanPro
true

Learn Automation Testing from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

WE <3 TEST AUTOMATION..but do WE know AUTOMATION ANTIPATTERNS!?

Rana Krunal
01/09/2016 0 0

MIND THE AUTOMATION ANTIPATTERNS! 

* TESTING PYRAMID *

The goal of test automation is to accelerate the feedback cycle. In order to achieve this goal it is important to use the right mix of diferent test types. The testing pyramid is a concept that visualizes this distribution of testing types.

The idea is that on the bottom of the pyramid there is a large base of fast, technology facing tests. Since these tests run fast, and are inexpensive to create, it's no problem to aim for a high coverage in this area.

Higher up the pyramid there is a smaller set of business facing tests. These business facing tests are far more costly to develop, execute and maintain, so aim to keep this set as small as possible.

In practice, it's easy however to deviate from the distribution as depicted above. Below we describe some of the most common anti-patterns.

Do you recognize one of these anti-patterns in your own automation setup? 

 

* ICE-CREAM CONE *

One of the most common anti-patterns is the so called ice-cream cone.

What happens is that the test automation efort is focused on automating manual test scenario's. In nearly all cases this means that the automation is done through the GUI, over the entire application landscape

Tests on more isolated components are rare or non-existent.

The drawback of this approach is that you cannot achieve true fast feedback (there is still a considerable gap between code commits and the test feedback), the tests take long to develop and are difcult to maintain.

Because all the tests require a fully integrated environment to run, test data management becomes increasingly challenging as well.

 

* CUPCAKE PATTERN *

Testing isn't a team efort, everybody is involved but nobody is communicating.

Developers are responsible for Unit and API tests. End2end tests are build by a test automation team. And exploratory tests are done by manual testers.

The teams do not agree on the scenarios that have to be tested or the level of test automation. This results in duplication - the same scenario ends up being automated at many diferent levels.  

 

* HOURGLASS *

By only using the familiar and easy test mythologies, you will end up with an hourglass model where a few testtypes are overrepresented. For instance, unit tests are made by developers, end2end tests are made by testers, and other testtypes are ignored altogether.

In practice this means that either too much is being tested at the end to end level, or essential coverage is missing. Usually, it's a combination of both.

 

* DUAL PYRAMID *

Focus on the testing pyramid is going as it is supposed to be.

However, the diferent expertises aren't collaborating. Test professionals are operating in a separate team, which leads to developers and business who won't feel any responsibility for failures.

This scenario will lead to a long feedback cycle because of the walls between the diferent expertises. 

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

What will Students Gain Out of this Unique Course?
By the end of the course you will be able to automate any web app using selenium web driver technology with Java Learn to work on: Live projects, Design complex frameworks Design interactive Reports. Learn...

Practices & Strategies For Test Automation
Q)What are the Best Practices and Strategies for Test Automation? A)Below are some best practices & strategies for Test Automation: 1.Hire a Dedicated Automation Engineer or Team:This is a basic...
I

ICreative Solution

1 0
0

Being a Tester.
Being a tester one should never ever work in an isolated environment. He should be aware of whole Product functionality and architecture.For starting you may proceed with - 1. Learn to login to the ip...

Overview on Auto IT and use in selenium webdriver
AutoIt v3 is a freeware BASIC-like scripting languages designed for automating the windows GUI and general scripting. It used a combination of simulated keystrokes, mouse movements and window/control manipulation...
S

Framework in Automation Testing & its advantages?
Q) Do You Know what is a framework? What are the advantages of Automation Framework?A) Framework is a constructive blend of various guidelines, coding standards, concepts, processes, practices, project...
I

ICreative Solution

0 0
0
X

Looking for Automation Testing Classes?

The best tutors for Automation Testing Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Automation Testing with the Best Tutors

The best Tutors for Automation Testing Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more