#017

Опубликовано: 29 Июль 2026
на канале: Artistry of Code
55
2

📚 ABOUT THE EPISODE

Welcome to the 17th episode of the main series!

This time we reach the bottom of the Test Pyramid, focusing on the most common type of test: the Unit Test. As big fans of TDD (Test Driven Development) we happily discuss our experiences and approaches. We cover proven benefits which you could use as support material in introducing the practice of Unit Testing and TDD in your organization or day-to-day work.

Tune in for new stream of inspiration! 🎧


📑 TOPICS COVERED

👉 How unit testing can be beneficial for individuals and organizations
👉 The do's and don'ts of unit testing
👉 How to write testable code
👉 Some mocking libraries for NodeJS which you might want to try out


⌚ TIMELINE

00:00 - Intro
01:35 - To be clear: how do we define Unit Tests
05:02 - Sound reasons for why we write Unit Tests
12:38 - To mock, or not to mock?
20:58 - Writing testable code
27:02 - Wrap up

🔗 LINKS FROM THE EPISODE

ts-mockito mocking library
https://www.npmjs.com/package/@johanb...

jest-mock-extended mocking library
https://www.npmjs.com/package/jest-mo...

inversify library for dependency injection
https://www.npmjs.com/package/inversify

🤝 CONTACT US / COLLABORATION

If you:
want to send us your valuable feedback
you would like to appear on the show as a guest
you would like to help out the show to grow
you would like to sponsor the show

Then please contact us via: [email protected]
You can also check out our website: https://artistryofcode.com

😍 FOLLOW US ON SOCIAL MEDIA

Facebook:   / artistryofcode  
Twitter:   / artistryofcode  
LinkedIn:   / artistry-of-code  
Reddit:   / artistryofcode  

Grzegorz Godlewski
LinkedIn:   / ggodlewski  
Twitter:   / ggodlewski  

Marek Urbanowicz
LinkedIn:   / marek-urbanowicz-0ba65254  
Twitter:   / urbanowiczdev  

Artur Wolny
LinkedIn:   / artur-wolny-35150664