In a world where software testing is full of shifting requirements, tight deadlines, and unpredictable systems. Can we learn from a sport that thrives on uncertainty? More than you’d think. Discover how orienteering yes, running through the forest with a map can make you a different tester.| The Testing Pirate
How can you manage bearer token expiration in Cypress tests by using the cypress sessions to cache and restore session data. I show in this article my solution to handle session expiration by re-authenticate when needed.| The Testing Pirate
How can we log in our system that uses keycloak to authenticate for with cypress? I describe my code to log on without the user interface.| The Testing Pirate
As I embark on my journey to learn TypeScript, a statically typed superset of JavaScript, I’m excited to share my newfound knowledge about typescript. Let Typescript be your guide In my TypeScript learning adventure, I’ve discovered the magic of type inference. TypeScript’s ability to automatically deduce the types of variables, parameters, and return values based on context is simply fascinating. Here’s an example: letage=25; // TypeScript determines 'age' as a number` I’ve realize...| The Testing Pirate
We do API testing to ensure that the functionality and reliability of your application is correct. While testing the replies of the REST calls, you need to filter the JSON response data to extract the relevant information. Introduction I blogged in august already that we can do Rest Api Testing with Cypress. When working with APIs, it’s essential to extract specific data from the JSON responses to validate the behavior of your application. Let’s look how you can do that. Making an API Req...| The Testing Pirate
One common practice found in many Scrum teams is the use of a test column on their Scrum board. While the intent behind it good, to streamline the testing phase, there are compelling reasons to reconsider the necessity of this column. Why is there a test column ? The test column provides a dedicated space for testers in the workflow. This highlights their crucial role within the development team, where testing is not merely a final step but an integral part of the entire development process. ...| The Testing Pirate
Sustainability is in this era a big topic in the news. While many of us might not immediately associate software testing with ecological preservation, the truth is that software testers play a role in the pursuit of a sustainable future. Docker, a containerization platform allows applications to run consistently across different environments, ensuring they work as intended regardless of the underlying infrastructure. This flexibility has made Docker a cornerstone of modern software developmen...| The Testing Pirate
Git is a free and opensource distributed version control system. I did have a conversation with a developer whether we are going to squash commits or preserve the history. A commit is a snapshot of the changes you have made in your files at a particular point in time. Commits allow you to track and manage the history of your project, making it easier to collaborate, review changes, and roll back to previous states if needed. What is squashing? Squashing refers to the process of combining mult...| The Testing Pirate
In my last post, I explained the technique of rubber duck debugging, where you can explain your code and testcases to an inanimate object to uncover and resolve issues. This time, i take rubber duck debugging to the next level by using ChatGPT as a virtual rubber duck. Why Use ChatGPT for Rubber Duck Debugging? While the traditional rubber duck method is effective, it has some limitations too. For instance, an object won’t provide any feedback or suggestions, which can be a drawback in cert...| The Testing Pirate
Debugging is an integral part of the software development process. It involves identifying and fixing issues or bugs in a program’s code to ensure that it functions as intended. Developers often employ various techniques and tools to streamline this process, but one unconventional and surprisingly effective approach is rubber duck debugging. The Origins of Rubber Duck Debugging Rubber duck debugging is a practice where a programmer explains their code, line by line, to an inanimate object, ...| The Testing Pirate