Search a title or topic

Over 20 million podcasts, powered by 

Player FM logo
Artwork

Content provided by Artur W., Grzegorz Godlewski, Marek Urbanowicz, and Artur Wolny. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Artur W., Grzegorz Godlewski, Marek Urbanowicz, and Artur Wolny or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.
Player FM - Podcast App
Go offline with the Player FM app!

#017: Why you should write Unit Tests

28:16
 
Share
 

Manage episode 345191525 series 3310419
Content provided by Artur W., Grzegorz Godlewski, Marek Urbanowicz, and Artur Wolny. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Artur W., Grzegorz Godlewski, Marek Urbanowicz, and Artur Wolny or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.

πŸ“š 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 testble 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/@johanblumenberg/ts-mockito
jest-mock-extended mocking library
https://www.npmjs.com/package/jest-mock-extended
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: https://www.facebook.com/ArtistryOfCode
Twitter: https://twitter.com/ArtistryOfCode
LinkedIn: https://www.linkedin.com/company/artistry-of-code
Reddit: https://www.reddit.com/r/ArtistryOfCode/
Grzegorz Godlewski
LinkedIn: https://www.linkedin.com/in/ggodlewski/
Twitter: https://twitter.com/GGodlewski
Marek Urbanowicz
LinkedIn: https://www.linkedin.com/in/marek-urbanowicz-0ba65254/
Twitter: https://twitter.com/UrbanowiczDev
Artur Wolny
LinkedIn: https://www.linkedin.com/in/artur-wolny-35150664/

  continue reading

28 episodes

Artwork
iconShare
 
Manage episode 345191525 series 3310419
Content provided by Artur W., Grzegorz Godlewski, Marek Urbanowicz, and Artur Wolny. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Artur W., Grzegorz Godlewski, Marek Urbanowicz, and Artur Wolny or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.

πŸ“š 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 testble 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/@johanblumenberg/ts-mockito
jest-mock-extended mocking library
https://www.npmjs.com/package/jest-mock-extended
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: https://www.facebook.com/ArtistryOfCode
Twitter: https://twitter.com/ArtistryOfCode
LinkedIn: https://www.linkedin.com/company/artistry-of-code
Reddit: https://www.reddit.com/r/ArtistryOfCode/
Grzegorz Godlewski
LinkedIn: https://www.linkedin.com/in/ggodlewski/
Twitter: https://twitter.com/GGodlewski
Marek Urbanowicz
LinkedIn: https://www.linkedin.com/in/marek-urbanowicz-0ba65254/
Twitter: https://twitter.com/UrbanowiczDev
Artur Wolny
LinkedIn: https://www.linkedin.com/in/artur-wolny-35150664/

  continue reading

28 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Copyright 2025 | Privacy Policy | Terms of Service | | Copyright
Listen to this show while you explore
Play