New article: Tales Of TDD - One Test Double To Rule Them All
A short story about the pragmatic use of test doubles.
https://principal-it.eu/2026/03/tdd-tales-one-test-double/

#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign

Without proper TDD, developers keep pinging Google AI Studio to generate missing unit tests, turning AI assistance into a reminder service. Discover why solid test‑driven practices still matter for reliable AI‑powered code and how open‑source teams can avoid this trap. #AIStudio #TestDrivenDevelopment #UnitTests #GoogleAI

🔗 https://aidailypost.com/news/lack-tdd-forces-constant-reminders-google-ai-studio-tests

When learning Test-Driven Development (TDD), developers often struggle with identifying boundary conditions and exceptional cases. One resource that has been incredibly helpful to me over the years is the 𝐓𝐞𝐬𝐭 𝐇𝐞𝐮𝐫𝐢𝐬𝐭𝐢𝐜𝐬 𝐂𝐡𝐞𝐚𝐭 𝐒𝐡𝐞𝐞𝐭, created by Elisabeth Hendrickson, James Lyndsay, and Dale Emery. This concise document provides a wealth of inspiration for uncovering edge case scenarios.

You can download the cheat sheet here:
https://www.scribd.com/document/17602488/testheuristicscheatsheetv1

#tdd #unittests #testing #softwaredesign

The intent of Test-Driven Development is to start from what you know, no matter how little, and work incrementally towards the things that you don’t know, taking as many small steps as necessary. (2/2)

https://principal-it.eu/2020/06/test-driven-development/

#tdd #unittests #testing #softwaredesign

Principal IT | Inside-Out and Outside-In TDD

Principal IT - Jan Van Ryswyck

A while ago, I was asked whether one should use Inside-Out TDD or Outside-In TDD. At first glance, it might seem important to choose one approach over the other. However, this isn’t the case at all. Inside-Out and Outside-In TDD are not mutually exclusive. There’s no need to rigidly commit to just one. Instead, we should practice and master both approaches to develop an intuitive sense, a *gut instinct*, for when to apply a certain approach. (1/2)

#tdd #unittests #testing #softwaredesign

A good testing strategy incorporates both defect prevention and defect detection. Defect prevention is the most important. Finding a defect after the code has been written is wasteful. Preventing defects by thinking about and writing tests before the production code is always the best strategy. When it comes to finding defects, the faster they are found, the shorter the feedback loop, and the sooner measures can be taken to prevent them in the future.

#tdd #unittests #testing #softwaredesign

37 000 unit-тестов против Gradle: как мы добились 12-минутного прогона

Привет я Федотов Михаил, технический лидер по Android разработке в Альфа-банке. Сегодня хочу поговорить про performance (ускорение) unit тестов. Я работаю на проекте Android приложения Альфа-банка для физических лиц. Для нашего большого проекта это время — больная тема, так как у нас около 800 модулей и большая часть кода полностью покрыта unit тестами (за некоторыми исключениями, например, view классы). Сейчас у нас почти 6000 spec (тест-классов) в которых 37 000 тест-кейсов. Общее время прогона всех тестов на CI превышало 3 часа. Локально все тесты прогнать вообще было утопией, так как вероятнее всего сборка просто падала от нехватки оперативной памяти. Сейчас все тесты проекта мы научились прогонять за честные 12 минут и я расскажу что для этого потребовалось.

https://habr.com/ru/companies/alfa/articles/993352/

#unittests #gradle #mockk #performance_optimization #android

37 000 unit-тестов против Gradle: как мы добились 12-минутного прогона

Привет я Федотов Михаил, технический лидер по Android-разработке в Альфа-Банке. Сегодня хочу поговорить про performance (ускорение) unit-тестов. Я работаю на проекте Android приложения Альфа-банка для...

Хабр

I've been teaching this course at several different companies over the past couple of years. Feedback from past attendees has been unanimously positive, and I’m thrilled to open this experience to a wider audience. 𝐑𝐞𝐠𝐢𝐬𝐭𝐞𝐫 𝐛𝐲 𝐀𝐩𝐫𝐢𝐥 19 𝐭𝐨 𝐭𝐚𝐤𝐞 𝐚𝐝𝐯𝐚𝐧𝐭𝐚𝐠𝐞 𝐨𝐟 𝐭𝐡𝐞 𝐞𝐚𝐫𝐥𝐲-𝐛𝐢𝐫𝐝 𝐝𝐢𝐬𝐜𝐨𝐮𝐧𝐭! Spots are limited, so visit my website to learn more and secure your spot.

🔗 Secure your spot now: https://principal-it.eu/training/well-balanced-test-driven-development.html

#tdd #unittests #softwaredesign #softwarecrafting

I’m happy to announce my workshop, ‘𝐖𝐞𝐥𝐥-𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐝 𝐓𝐞𝐬𝐭-𝐃𝐫𝐢𝐯𝐞𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭’ on 21 𝐚𝐧𝐝 22 𝐌𝐚𝐲 2025 at 𝐓𝐡𝐞 𝐁𝐫𝐚𝐢𝐧 𝐄𝐦𝐛𝐚𝐬𝐬𝐲 𝐢𝐧 𝐀𝐧𝐭𝐰𝐞𝐫𝐩. This two-day, hands-on workshop blends theory with practice in a real-world codebase. You'll be collaborating together with fellow attendees to master the art of writing loosely coupled and highly maintainable automated developer tests.

(1/2)

#tdd #unittests #softwaredesign #softwarecrafting

Tech Leaders: Low-Performing Teams Are A Gift, Not A Curse

It’s an age-old story. You’re parachuted in to lead a software development organisation that’s experiencing – let’s be diplomatic – challenges. Releases are far …

Codemanship's Blog