5min chapter

The Modern .NET Show cover image

Atypical ASP .NET Core Design Patterns With Carl-Hugo Marcotte

The Modern .NET Show

CHAPTER

Why Should I Test This Code Automatically?

In about a minute or less, I can exercise something like 90% of the code base just by hitting a button inside of Visual Studio. And for me, for my own personal sort of development, it was when I saw unit tests, it's not proving that the code does what it says it does, it's proving that theCode does what I say it does. There's a big difference between doing what the code says it does and doing what thecode, doing what I say the code does. But with an automation, I think it took three milliseconds to test 10 cases. So 10 use cases with a few edge cases, three milliseconds there. If something is broken there, you

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode