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?"
Sponsored By:
- PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE22
Links:
<p>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?".</p> <p>unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing.</p> <p>That's what this episode is about, my opinion of </p> <ul> <li>"Why NOT unittest?", or more broadly, </li> <li>"What are the fatal flaws of xUnit?"</li> </ul><p>Sponsored By:</p><ul><li><a href="https://ift.tt/2JDHRTz" rel="nofollow">PyCharm Professional</a>: <a href="https://ift.tt/2JDHRTz" rel="nofollow">Try PyCharm Pro for 4 months and learn how PyCharm will save you time.</a> Promo Code: TESTANDCODE22</li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code in Python</a></p><p>Links:</p><ul><li><a href="https://ift.tt/3Ebg2Ot" title="Python Testing with pytest, Second Edition" rel="nofollow">Python Testing with pytest, Second Edition</a></li><li><a href="https://ift.tt/1z4MD56" title="unittest docs" rel="nofollow">unittest docs</a></li><li><a href="https://ift.tt/3sgknhd" title="unittest assert methods" rel="nofollow">unittest assert methods</a></li><li><a href="https://ift.tt/3IY03ag" title="xUnit - Wikipedia" rel="nofollow">xUnit - Wikipedia</a></li></ul>from Planet Python
via read more
No comments:
Post a Comment