-
Specification-Based Testing: Exploring partitions
When we are testing our code, we can’t only test things that will give us a successful return. Tests should be a way to help you find bugs, so in… Read more
-
Specification-based Testing: Explore the program
The third step of the specification-based test is to explore the program behavior. You can skip this step if you wrote the code that you are testing. This step is… Read more
-
Specification-based Testing: Understand the requirements
Understanding the requirements is an important part of testing your code. If you already know the business rules you can create tests to validate it. Also, you can create some that will prevent unwanted behavior too. When writing… Read more
-
Specification-Based Testing: A Developer’s Secret Weapont
One quick story: I was adding a new feature that needed an API client created by another developer. The API required three inputs: ID, country code, and phone number. I… Read more
-
Friction: How Human Behavior Influences Code Development
Introduction Have you ever tried to start a gym routine, learn a new skill, or start a new side project, and found yourself failing? The reasons for failure can sound… Read more
-
From Bugs to Brilliance: Enhancing Code Reliability Through Mutation Testing
Introduction Have you worked on a project with high test coverage? Ever wondered why, despite extensive coverage, bugs still manage to slip into production? Have you or your teammates begun… Read more
-
Less Code, More Tests: Exploring Parameterized Tests in JUnit
Introduction Regarding writing tests, some developers are lazy writing fewer test scenarios as possible. And sometimes they can write no scenarios at all. Imagine being able to test many scenarios… Read more
-
How to test complex conditions with the MC/DC criteria
Introduction Have you needed help defining what to test when you encounter a complex condition in your code? Do you feel lazy when looking at a condition that has too… Read more
-
How to write meaningful test assertions that help you not break your code base
The article emphasizes the importance of writing meaningful assertions and verifications in software testing. It explains how specific and descriptive assertions help in detecting bugs early, improving code quality, and… Read more
-
Simplify Your Tests and Save Time: A Guide to Test Data Builders
Test data builders provide a solution to the time-consuming and complex task of setting up test scenarios. By pre-populating domain objects with valid data, developers can easily modify and reuse… Read more