Let’s Smell Some Tests #3 — Testing Randomness in Java | by Krystian Szpiczakowski | May, 2022

Why you should avoid testing non-deterministic behavior Photo by Lucas George Wendt on Unsplash Hello, and welcome to the fourth article of the “Let’s Smell Some Tests” series. In the previous episode¹, we were looking at tests that exercised internal behavior, and we pointed out the drawbacks of this approach. Today, we’re going to analyze … Read more

Debugging Python Code Is Like Detective Work — Let’s Investigate

Debugging Python code is not a mysterious art form. It’s like a detective solving a mystery. This analogy comes from one of my favorite programming aphorisms: “Debugging is like being the detective in a crime movie where you are also the murderer.” (Felipe Fortes). So what can real detectives tell us about debugging Python code? … Read more