Posts

Showing posts from 2020

Anti-Patterns in Test Automation - Part 2

Image
Welcome to part 2 of the anti-pattern series. And I can't wait to start because I am beginning this article with a very famous BDD testing and collaboration tool Cucumber. Let's jump right into it. Cucumber in Every Recipe Before I say anything, I want you to read this - "If you need a testing tool for driving a mouse and a keyboard, don't use Cucumber. There are other tools to do this with far less abstraction and typing overhead than Cucumber." -Aslak Hellesøy, creator of Cucumber So if you are not following the process of BDD in your product development, then there exists one anti-pattern that is undoubtedly going to give you a hard time to achieve benefits from test automation success. And it is using Cucumber or other similar styling tools.  And if you want to review your decision, you can do it now. If you are already too deep into it, consider starting a new suite for future testing. Getting up and running with a suite does not take time. Even if it did, it

Anti-Patterns in Test Automation - Part 1

Image
I have just finished jotting down all the  Anti-Patterns  that I have come across during my assignments and  Best Practices  that I have adopted to make my tests run on cloud and with distinguishing quality. And if I talk about all of them,  I honestly don't know how long this article is going to be.   Therefore just like the title, I will, in this article, discuss habits that keep you away from keeping code hygiene and make your automation starve for love and respect.  So lets' start without any further ado. Borrowing Existing Frameworks Well, it's not hidden from anyone. We have heard this before from someone that they have got a fantastic Test Automation framework  for our new project  from another team. With such suggestions, it's easy to convince the team because we crave for being efficient, and it points to the definite time-saving scheme. Let me assure you, its a trap. It not only takes time for the team to understand the complete architectur

Frequent Test Automation Pitfalls

Image
It does not matter if we have an experienced Testing team, or exceptional automation technology for testing the product, writing a little code to exercise a system is not a big deal. Although it's essential to consider writing Test Automation with robust test design, in the absence of which, organisations can encounter a plethora of complications that compound to create inefficient, sketchy, and hard-to-maintain tests.  To ensure quality, cost efficiency, and speed, it becomes crucial to identify the symptoms that your tests aren't offering optimally. Below are few "anti-patterns," or unreliable exercises I have withdrawn in my projects for the best testing experience. No Framework Design We make strategies to win and counter failures. But in the case of test automation, often, the design takes a backseat in the event of automating. And all the glittery things catches eyeballs for showcasing something not going to be worth after a while. Lack of thinking