173: Mocking and Unit Tests
from Programming Throwdown Hosted by Patrick Wheeler and Jason Gauci
Patrick and Jason discuss unit testing, regression testing, and system testing, with a focus on when mocking actually helps. They explain mocks versus fakes, testing tradeoffs, and the practical role of testing libraries across several major languages.
Embed this episode
Chapters
- 0:15 Introduction
- 7:06 A showcase of a 3D-printed gaming device
- 11:16 The benefits of social media for local events
- 13:21 Rust vs. C++ at Google
- 16:42 Introduction
- 18:52 The Future of C++
- 21:37 The Longevity of C++
- 23:49 Cosine Similarity in Machine Learning
- 28:38 Cosine Similarity Limitations
- 42:43 The Science of Training
- 46:16 A Movie Making Nerd
- 48:59 The YouTube Algorithm
- 53:26 Dwarf Fortress Deep Dive
- 57:56 Strategies for Managing Complex Game Mechanics
- 59:49 Defining Unit Tests
- 1:02:20 The Pitfalls of Over-Testing
- 1:04:26 Defining Test Types
- 1:06:52 Faking vs. Mocking
- 1:10:17 Mocking vs. Fakes
- 1:24:44 Why You Should Never Use Custom Cryptography
- 1:28:21 Non-Compete Agreements in Finance
- 1:30:32 Automating Tests with GitHub Actions
No transcript yet.
Similar podcasts
The Self-Worth Project
Jenn Stevens
Welcome to The Self-Worth Project! Hosted by Jenn Stevens, coach, hypnotist, and creator of The Aligned Life This podcast is designed to help you remember who you really are: underneath the layers of pain, shame, and programming that are keeping you small. Let's ditch the unhealthy patterns so we can create the life we really want, without apology.
Disability Law Show
CKNW Programming
Samfiru Tumarkin LLP is a Toronto-based law firm that specializes in labour and employment law, as well as personal injury and insurance claims.
KMOJCast
KMOJ-89.9 FM “The People’s Station”
Select programming from KMOJ's airwaves and community voices. Since first going “on the air” in 1976, KMOJ-89.9-FM continues its legacy as the community-oriented station located in Minneapolis, Minnesota airing a predominantly urban adult contemporary format.“KMOJ’s Community Viewpoint” is one way the station achieves its mission of engaging, supporting and empowering Communities of Color to elevate the way of life of the people of its community and to challenge social and economic disparities, and the persistent consequences of historic racism. The station call letters, “KMOJ” were inspired by the Swahili word “UMOJA” which means “Unity.” http://kmojfm.com/
Frequently asked questions
How long is this episode of Programming Throwdown?
This episode is 1 hour and 35 minutes long.
When was this Programming Throwdown episode published?
This episode was published on April 29, 2024.
Can I download this Programming Throwdown episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.