Thursday, February 18, 2021

Test and Code: 145: For Those About to Mock - Michael Foord

A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.

Of course we discuss mocking and unittest.mock.

We also discuss:

  • testing philosophy
  • unit testing and what a unit is
  • TDD
  • where Michael's towel is, and what color

Micheal was instrumental in the building of testing tools for Python, and continues to be a pragmatic source of honest testing philosopy in a field that has a lot of contradictory information.

Special Guest: Michael Foord.

Sponsored By:

Support Test & Code : Python Testing

Links:

<p>A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.</p> <p>Of course we discuss mocking and unittest.mock. </p> <p>We also discuss:</p> <ul> <li>testing philosophy</li> <li>unit testing and what a unit is</li> <li>TDD</li> <li>where Michael&#39;s towel is, and what color</li> </ul> <p>Micheal was instrumental in the building of testing tools for Python, and continues to be a pragmatic source of honest testing philosopy in a field that has a lot of contradictory information.</p><p>Special Guest: Michael Foord.</p><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: TESTANDCODE21</li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code : Python Testing</a></p><p>Links:</p><ul><li><a href="https://ift.tt/1gYzMss" title="unittest.mock - Python docs" rel="nofollow">unittest.mock - Python docs</a></li><li><a href="https://ift.tt/2iao9Rn" title="Mocks Aren't Stubs - Martin Fowler" rel="nofollow">Mocks Aren't Stubs - Martin Fowler</a></li><li><a href="https://ift.tt/3fn5yjx" title="pytest-mock" rel="nofollow">pytest-mock</a></li><li><a href="https://ift.tt/1sKc4Xr" title="mock.patch" rel="nofollow">mock.patch</a></li><li><a href="https://ift.tt/1Pa5ClH" title="Autospeccing" rel="nofollow">Autospeccing</a></li><li><a href="https://ift.tt/2iGAKB7" title="Arrange Act Assert" rel="nofollow">Arrange Act Assert</a></li><li><a href="https://ift.tt/19qwNXJ" title="testing-in-python mailing list" rel="nofollow">testing-in-python mailing list</a></li><li><a href="https://ift.tt/2NAPKkr" title="Classical and Mockist Testing" rel="nofollow">Classical and Mockist Testing</a> &mdash; Classical and Mockist Testing </li><li><a href="https://ift.tt/3bwh2AP" title="Test First Programming / Test First Development" rel="nofollow">Test First Programming / Test First Development</a></li><li><a href="https://ift.tt/3aaFlC0" title="episode 102: Cosmic Python, TDD, testing and external dependencies - Harry Percival" rel="nofollow">episode 102: Cosmic Python, TDD, testing and external dependencies - Harry Percival</a></li><li><a href="https://ift.tt/30cLATi" title="episode 132: mocking in Python - Anna-Lena Popkes" rel="nofollow">episode 132: mocking in Python - Anna-Lena Popkes</a></li><li><a href="https://ift.tt/3oTUOhM" title="pytest" rel="nofollow">pytest</a></li><li><a href="https://ift.tt/1z4MD56" title="unittest - Python docs" rel="nofollow">unittest - Python docs</a></li><li><a href="https://ift.tt/3dq2tRQ" title="pytest assert usage" rel="nofollow">pytest assert usage</a></li><li><a href="https://ift.tt/2rSuVkf" title="30 best practices for software development and testing | Opensource.com" rel="nofollow">30 best practices for software development and testing | Opensource.com</a></li></ul>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...