
195: What would you change about pytest? - Anthony Sottile
Test & Code
00:00
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.
Transcript
Play full episode