Python Test

Why NOT unittest?

12.17.2021 - By Brian OkkenPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?". unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing. That's what this episode is about, my opinion of "Why NOT unittest?", or more broadly, "What are the fatal flaws of xUnit?"Full Transcript

Links:Python Testing with pytest, Second Editionunittest docsunittest assert methodsxUnit - Wikipedia

More episodes from Python Test