Author: Animesh Pathak
-
How I simulated a response from a Third Party app
Whether you’re building a web application, a mobile app, or any other software product, integrating with third-party APIs is almost inevitable. But what happens when you need to test your application’s behavior without relying on these external services? That’s where the magic of simulation comes in handy. In this blog, we’ll explore how you can…
-
Why I Switched to Table Driven Testing approach in Go
Unit Testing, specifically table driven tests, have gained significant popularity in recent years due to their ability to eliminate repetition and enhance test clarity and maintainability. By organizing test cases into a structured format, table driven tests provide a systematic way to reuse the same values across different unit testing scenarios efficiently. What is Table…
-
Canary Testing: A Comprehensive Guide for Developers
What’s Canary Testing, Anyway? Imagine you’re a miner with a canary in a cage. If the air is toxic, the canary reacts first, giving you a heads-up. Canary testing works similarly for your software. Instead of releasing the whole flock (users) into a potentially toxic or buggy environment, you release just one canary (a small…
-
Writing test cases for Cron Job Testing
Understanding Cron Jobs: A Quick Recap Cron is a time-based job scheduler in Unix-like operating systems. It allows you to schedule tasks (or jobs) to run at specified intervals. Now, let’s get down to business – testing these Cron jobs to make sure they’re doing what they’re supposed to do. How can you be certain…
-
How to Test Cron Jobs: Comprehensive Guide to Cron Job Testing
Before we dive into the world of Cron job testing, let’s first know what they are. In the computer’s world, a Cron job is a time-based job scheduler that automates the execution of tasks at predetermined intervals on Unix-like operating systems. These tasks can range from routine maintenance scripts to fetching data from APIs or…
-
Building Custom YAML-DSL in Python
In this blog post, I will guide you through the process of building a custom DSL in Python. Why? Because, we have to encode real-world problems in code, but we are limited by the power of expressivity of the language we are using. The programming languages are fairly low when it comes to dealing with complex or…
-
eBPF, Service Mesh and Sidecar
The operating system is like the boss of your computer, handling security, networking, and keeping an eye on what’s happening. But tweaking or improving the core part of the operating system, called the kernel, is a bit tricky because it’s mainly focused on keeping things stable and secure. Most cool new stuff usually happens outside…
-
Master BDD Testing with Cucumber.js: A Comprehensive Guide
While BDD and Cucumber.js have been around for some time, many developers are still unfamiliar with how these tools can streamline development processes and improve software quality. This comprehensive guide will help you understand the core concepts of BDD, how to implement it using Cucumber.js, and how this approach can benefit your projects by making…
-
Dignify Your Test Automation with Concise Code Documentation
If you already are busy with high priority tasks like regression testing, you can be left wondering if it is a good use of time as sometimes, you have to read existing code for automated tests to figure out what is it they are supposed to achieve. Common causes of confusion are: The names of…
-
How to Do Java Unit Testing Effectively
Java unit testing is a process used by developers to test individual components of a Java application. It helps ensure that each piece of code, or unit, functions correctly on its own. By isolating each unit and testing it independently, developers can identify and fix issues early, improving the overall quality of the application. So,…