Anatoliy Kolesnick
banner
kolesnick.bsky.social
Anatoliy Kolesnick
@kolesnick.bsky.social
✨ Making Unit Testing & Refactoring fun for developers
👨‍💻 20+ years as a Software Architect (.NET, Desktop/Web/Mobile/Game Dev)
🌐 Ex-Microsoft consultant, advisor to United Nations & World Bank
🔗 https://linktr.ee/kolesnick.eu
Not so long ago, we explored TDD Kata—an exercise that allows you to improve refactoring and Unit Testing skills on a regular basis. Today, I’ll talk about its extended version. 🧵 1/15 👇
April 24, 2025 at 6:20 PM
I enjoy analogies and metaphors. They always engage additional areas of the brain and help better assimilate the information. So today I will draw a parallel between Arrange Act Assert and Pre-Production Production Post-Production. 🧵 1/11 👇
April 23, 2025 at 6:13 PM
In 1984, I was just born. Yet, programming had already evolved to such an extent that various studies were being conducted on programmers. 🧵 1/8 👇
April 22, 2025 at 7:53 PM
Now I'll share a best practice that will help you avoid False Negative Tests when you test a data collection that is defined dynamically at the moment of test execution. 🧵 1/10 👇
April 21, 2025 at 1:33 PM
So, you’re set to write tests for a certain Unit Under Test and realize that you can't cover all execution branches, and you're unsure which ones to pick? Say no more! I won't leave you in distress :) 🧵 1/10 👇
April 18, 2025 at 1:04 PM
In my first course on Unit Testing, one of the homework assignments required completing a TDD Kata and, optionally, recording a video of the process. Now, I'd like to discuss the most significant mistake that participants made. 🧵 1/11 👇
April 17, 2025 at 1:59 PM
Okay, this is cool:
youtu.be/g8v7yhXwW1U
👾
Bit-Pong Full Official Video 🏓👾🔥 | The Future of Social Gaming is Here
YouTube video by bit-pong
youtu.be
April 16, 2025 at 3:37 PM
Analyzing the blocks Arrange, Act, and Assert, we paid a lot of attention to the meticulous details on which block each line of code should fall into. At first glance, it might seem that it does not matter much. So, let us explore why this distinction is significant. 🧵 1/6 👇
April 16, 2025 at 11:51 AM
Let's talk about different ways you can improve the readability of your tests :) 🧵 1/9 👇
April 15, 2025 at 10:46 AM
How to effectively work with repository files in tests while remaining independent from the test runner? That's exactly what I'm about to tell you :) 🧵 1/14 👇
April 14, 2025 at 10:16 AM
You're starting a new project and want to begin writing Unit Tests right away. However, you're not confident that you can ensure complete test coverage. How should you prioritize? Let's discuss this :) 🧵 1/16 👇
April 11, 2025 at 6:09 PM
This will be a very useful long-read, beneficial for those who want to enhance their skills in Unit Testing. I'm about to introduce you to an exercise called TDD Kata. 🧵 1/27 👇
April 10, 2025 at 1:51 PM
Something is off 🤔
April 10, 2025 at 12:27 PM
It is now obvious that Value Assertions are better than Behavioral Assertions. However, there used to be an alternative to the Arrange Act Assert approach, which was tailored for behavior testing: Record / Playback. Let's talk about it. 🧵 1/10 👇
April 9, 2025 at 11:42 AM
Who needs a PS5 when you can game on your kettle, right? Just plug in your toaster for multiplayer 😁
April 8, 2025 at 1:15 PM
From time to time, I emphasize that unit tests should be as readable as possible. Today, I will try to explain why. 🧵 1/10 👇
April 8, 2025 at 1:02 PM
Familiar with the saying "Right tool for the right job"?
Today, I'm going to show you how to use Unit Tests for purposes they were not originally intended for. I expect this might broaden your horizons a bit :)
🧵 1/15 👇
April 7, 2025 at 12:41 PM
So, you want to start writing tests for an already existing application, but the team doesn't want to spend much time on this? Let me tell you where to start so that everyone can feel the benefits of unit testing :) 🧵 1/11 👇
April 4, 2025 at 2:15 PM
To hone the skills of writing Unit Tests, there's a special exercise called TDD Kata. It not only improves the quality of the code but also accelerates the development process itself. Let's talk about the acceleration aspect :) 🧵 1/15 👇
April 4, 2025 at 12:09 AM
Previously we discussed the purpose of the Arrange Act Assert structure. Today, I'll tell you when it is necessary to use it, and when you can neglect it. 🧵 1/8 👇
April 2, 2025 at 10:42 AM
Do you want everyone on your team to absolutely despise Unit Testing? You've come to the right place! In this humorous post, I'll show you how to squash any desire to write tests in your team once and for all :) 🧵 1/10 👇
April 1, 2025 at 1:12 PM
Last time, we invented the Build Server. Now, it's time to conclude the prologue and enter the open world game. Today, we'll understand that for even more successful testing, we need to accumulate recommended practices. 🧵 1/12 👇
March 31, 2025 at 12:38 PM
My clock switched to summer time today, and somehow I ended up sleeping 5 hours less than usual :/
March 30, 2025 at 8:51 AM
Continuous Integration servers, also known as Build servers, have recently become the responsibility of DevOps specialists. However, if you are writing Unit Tests, you should at least have a basic understanding of what these are. 🧵 1/8 👇
March 28, 2025 at 6:34 PM
No matter how you write tests, Test First or Test Last, you might find yourself in a situation where you've finished writing code, ran the tests, and some of them turned red. Should you commit? 🧵 1/20 👇
March 27, 2025 at 12:54 PM