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 2 identical ropes with same shape and size. One rope takes 1 hour to burn completely. How you will measure 45 minutes?
Puzzle: You have 2 identical ropes with same shape and size. One rope takes 1 hour to burn completely. How you will measure 45 minutes.Note: you are not allowed to cut or fold these ropes.Solution: Suppose...

Puzzle: There is a boat, which is completely filled with fuel such that even if a bird comes and sit over then it cannot bear
Puzzle: There is a boat, which is completely filled with fuel such that even if a bird comes and sit over then it cannot bear its weight and will get sink. Now after running few kilometers an eagle came...

Selenium waits
In Selenium web driver, the biggest challenge is to synchronize your script with the Web application under test. To make this synchronization work, we have concept of waits. Although we can use Thread.sleep()...

Puzzle : There is a pond, and you have 2 container of 5 and 3 liters. You need to provide me 4 liters of water. How would you do that?
Puzzle : There is a pond, and you have 2 container of 5 and 3 liters. You need to provide me 4 liters of water. How would you do that.Note: You need to provide water to me out of those 2 containers, extra...

Priority vs Severity
Priority and severity level of defects needed to be defined as the development team cannot resolve all defects simultaneously. The test team needs to indicate how soon they want to get the defect fixed,...
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