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

Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed.....
Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed from outside the room, you can turn the light switches on or off...

What is Software Testing?
Software Testing is an approach to test an Application with different Testing approaches. There are 3 types of Application Web Application Mobile Application Desktop Application Major of applications...

Selenium Testing
Many, perhaps most, software applications today are written as web-based applications to be run in an Internet browser. The effectiveness of testing these applications varies widely among companies and...

What is debugging? and its importance
Debugging is a step by step process of identifying the errors present in the code. The question here is what kind of mistakes? Usually errors are of two types.1. Syntax errors2. Logical errors.Syntax...

Testers are the headlight of the project.
A project is like a road trip. Some projects are simple and routine, like driving to the store in broad daylight. But most projects worth doing are more like driving a truck off-road, in the mountains,...

Samad Ansari

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