Why NOT unittest?

Episode 173 · December 17th, 2021 · 23 mins 30 secs

About this Episode

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?"
Support Test & Code in Python

Episode Links

Episode Comments