Systems | Development | Analytics | API | Testing

Latest Posts

Managing Go Processes

While working on an application that required executing a command to run a blocking program, such as a TCP/HTTP server, I encountered an interesting challenge. I needed a way to stop the application and its child processes when a signal was sent to the main program, such as SIGINT (Ctrl+C) or SIGTERM. This blog post shares my journey and the solutions I found to manage processes effectively in a Go application, focusing on Linux environments.

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 simulate responses effectively, even if the actual service isn’t available.

Write Clean And Efficient Table Driven Unit Tests In Go

Table driven tests, also known as parameterized tests, have became very popular over the past few years, due to their ability to eliminate repetition. Table driven tests make it quite a bit easier to re-use the same values for different sets of tests by just moving the table outside of the scope of the test function. Different tests may benefit from the same input, and each test may have completely different configration, concurrency etc…

Canary Testing: A Comprehensive Guide For Developers

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 in a similar fashion for your software. Instead of releasing the whole flock (users) into a potentially toxic or buggy environment, you release just one canary (a small subset of users) to test the waters.

Mock Vs Stub Vs Fake: Understand The Difference

Testing software is like putting it through a series of challenges to make sure it’s tough enough for real-world use. Whether we’re testing each piece individually (unit testing) or how they all work together (integration testing), we need to be prepared for different situations. Sometimes, testing is tricky.There are times, when we need to isolate parts of our code from their dependencies.

Writing Test Cases For Cron Job Testing

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 they’re doing what they’re supposed to? Enter Cron Job Testing – a crucial step in ensuring the reliability of your scheduled tasks.

Improving Code Quality And Accelerating Development: The Continuous Testing Way

In the fast-changing world of software development, teams struggle to maintain good code quality while shortening development schedules. Continuous Testing (CT) in CI/CD pipelines stands out as a powerful strategy. It allows teams to weave testing directly into their development workflow, offering quick feedback and stronger quality assurance.

5 Unit Testing Tools You Must Know In 2024

Unit testing is one of the most important areas to ensure code coverage and basic testing for the applications or software in today’s world. With so many different unit testing tools available, Choosing the right tool can be challenging. Don’t Worry, In this Article we’ll explore 5 Unit Testing Tool you must know in 2024! So without delaying further let’s start!