2min chapter

Test & Code cover image

What would you change about pytest?

Test & Code

CHAPTER

The Importance of Assertions in PyTest

I would love to take that assertion library and or the, at least the assertion rewriting code and make it more modular and usable outside of PyTest. It doesn't really need to change PyTest, but it does need to change like how PyTest would approach things because it's currently very tied to various plug in entry points. Like there's maybe a world where you could imagine PyTest or Python itself has a direct way to manipulate how assertions are rendered. And then any test framework, not just PyTest could customize assertions in the same way.

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