Test & Code - Python Testing & Development

Why NOT unittest?

Informações:

Sinopsis

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 TranscriptLinks: Python Testing with pytest, Second Edition unittest docs unittest assert methods xUnit - Wikipedia If you like Test & Code, I think you'll also like Python People Python People is a new podcast about getting to know the people who make Python and our community awesome. Be sure to check out pythonpeople.fm.