PostHole
Compose Login
You are browsing eu.zone1 in read-only mode. Log in to participate.
rss-bridge 2024-04-29T15:00:00+00:00

173: Mocking and Unit Tests

173: Mocking and Unit TestsIntro topic:  HeadphonesNews/Links:Texas A&M University Physics Festivalhttps://physicsfestival.tamu.edu/Rust vs Cpp at GoogleLars Bergstrom (Google Director of Engineering): Rust teams at Google are as productive as the ones using Go and 2x those using Cpphttps://youtu.be/6mZRWFQRvmw?t=27012Is Cosine Similarity Really About Similarityhttps://arxiv.org/abs/2403.05440Xz utils supply chain attackAndres Freund at Microsofthttps://arstechnica.com/security/2024/04/what-we-know-about-the-xz-utils-backdoor-that-almost-infected-the-world/Book of the ShowPatrick:80/20 Running by Matt Fitzgeraldhttps://amzn.to/3xyEKLoJason: A Movie Making Nerdhttps://amzn.to/49ycDJjPatreon Plug https://www.patreon.com/programmingthrowdown?ty=hTool of the ShowPatrick: Shapez Android: https://play.google.com/store/apps/details?id=com.playdigious.shapez&hl=en_US&gl=USShapez iOS: https://apps.apple.com/us/app/shapez-factory-game/id6450830779Jason: Dwarf Fortresshttps://store.steampowered.com/app/975370/Dwarf_Fortress/Topic: Mocking and Unit TestsWhat are Unit TestsBalance between utility, maintenance, and coverageUnit Test: testing small functionsRegression Test: Testing larger functionsSystem Test: End-to-end testing of programsWhat are mocks & fakesWhen to use mock vs. fakeMocking libraries in various languagesPython: https://docs.python.org/3/library/unittest.mock.htmlJava: https://github.com/mockito/mockitoC++:  https://github.com/google/googletest

★ Support this podcast on Patreon ★
]]


Programming Throwdown

Patrick Wheeler and Jason Gauci

172: Transformers and Large Language Models

174: Devops

Download Audio File

**173: Mocking and Unit Tests

Intro topic:  Headphones

**News/Links:

  • Texas A&M University Physics Festival
  • Rust vs Cpp at Google
  • Is Cosine Similarity Really About Similarity
  • Xz utils supply chain attack

Book of the Show

  • Patrick:
  • Jason:

Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h

Tool of the Show

  • Patrick:
  • Jason:

**Topic: Mocking and Unit Tests

  • What are Unit Tests
  • Balance between utility, maintenance, and coverage
  • Unit Test: testing small functions
  • Regression Test: Testing larger functions
  • System Test: End-to-end testing of programs
  • What are mocks & fakes
  • When to use mock vs. fake
  • Mocking libraries in various languages

Original source

Reply