terribletester

Learnings of a Terrible Tester. </> on Github.
On the web: 

Haroon Sheikh • Oct 4, 2023 • 2 min read

Managing cucumber-java dependencies with Maven BOM

As users of cucumber-java, it’s quite common to use multiple cucumber libraries within a project which sometimes results in a conflict when the cucumber dependency versions are not in sync. These conflicts can eat a lot unnecessary time to investigate and resolve.

Good news! This can now be resolved easily using Maven’s Bill of Materials (BOM). We can take advantage of Maven’s BOM concept for cucumber version 7.0.0 onwards.  Read →

Haroon Sheikh • Apr 8, 2021 • Less than a minute read

Book of testing stories

A brand new ebook of inspiring testing stories. Software testing professionals from around the globe have volunteered to each share a story related to software testing, with the aim of inspiring others from their experiences.  Read →

Haroon Sheikh • Dec 29, 2020 • 1 min read

BDD for API testing is unnecessary

When it comes to testing the APIs, do the business really care about the details of the CRUD (Create, Read, Update, Delete) operations an endpoint can perform?

It is now, unfortunately become a common practice for testers/developers to use Cucumber (or other BDD framework) to test API endpoints. I personally feel testing using the Gherkin language does not really apply in the context of integration testing. It’s just adding an additional layer on top of tests.  Read →

Haroon Sheikh • Jun 25, 2020 • 7 min read

Publishing to maven central and github packages with github actions

I recently decided to move my CircleCI configuration to Github Actions. There was nothing wrong with my CircleCI setup, I just wouldn’t be a terribletester if I didn’t experiment new tools. There are loads of blogs out there laying out the comparison of both CI platforms. In this particular post, I will show how I’ve switched my CI platform from CircleCI to Github Actions and how I’m now publishing jars to both maven central and Github packages.  Read →

Haroon Sheikh • Jan 21, 2020 • 3 min read

Version control dotfiles using a git bare repository

I keep all of my dotfiles versioned controlled using a git bare repository. There are loads of alternate solutions out there helping you to store your dotfiles under some sort of source control. I have found this method the most useful in terms of keeping your dotfiles up-to-date with source control with minimal number of steps to be performed.  Read →

Haroon Sheikh • Sep 15, 2019 • 2 min read

BeforeAll and AfterAll workaround for cucumber-java

As a cucumber-jvm user, I’ve always felt the need for a @BeforeAll and @AfterAll hooks. Although, cucumber still does not have a support for this yet, there’re many ways to workaround.  Read →

Haroon Sheikh • Jul 10, 2019 • 1 min read

Including all sub-modules under a directory

There are multiple ways to add sub-modules and it's submodules within the parent settings.gradle. Read →

Haroon Sheikh • Jul 4, 2019 • 3 min read

Using Golang TimeTicker for a set duration

Problem: As part of me learning and experimenting with golang and working on a small gauge-reportserver plugin, I stumbled across a problem where I had to repeat a task for a certain period.  Read →