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

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...

Facebook Analytics
Assume how the Facebook application will store the millions of customer's record in real-time: facebook = { 'jose': { 'name': 'jose', 'age': 33, 'hobby': , # cricket,football 'mobile': 1111111111, 'email':...

Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is ............
Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is defective and produces 900 gm sugar box. How you find the defective one?Note:...

What are the basic things you should know to start with automation.
1. Basic understanding of any programming language (How to use arrays , lists , Strings and maps). 2. Some understanding on open source tools to automate and practice ( e.g Selenium ) 3. Basic understanding...

Black in Python
When you are upturn in your career from beginner to experienced in programming world, your team will start looking at ‘how you are writing?’ Here the responsibility piling up. Okay,...
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