19: Python unittest with Robert Collins




Test & Code - Software Testing, Development, Python show

Summary: <p>Interview with Robert Collins, current core maintainer of Python's unittest module.</p> <h3>Some of the topics covered</h3> <ul> <li>How did Robert become the maintainer of unittest?</li> <li>unittest2 as a rolling backport of unittest</li> <li>test and class parametrization with subtest and testscenarios</li> <li>Which extension to unittest most closely resembles Pytest fixtures?</li> <li>Comparing Pytest and unittest</li> <li>Will unittest ever get assert rewriting?</li> <li>Future changes to unittest</li> </ul> <p>I've been re-studying unittest recently and I mostly wanted to ask Robert a bunch of clarifying questions.</p> <p>This is an intermediate to advanced discussion of unittest.<br> Many great features of unittest go by quickly in this talk.<br> Please let me know if there's something you'd like me to cover in more depth as a blog post or a future episode.</p> <h3>Links</h3> <ul> <li><a href="https://docs.python.org/3.5/library/unittest.html" rel="nofollow">unittest</a></li> <li><a href="https://pypi.python.org/pypi/unittest2" rel="nofollow">unittest2</a></li> <li><a href="https://docs.python.org/3.5/installing/" rel="nofollow">pip</a></li> <li><a href="https://docs.python.org/dev/library/unittest.mock.html" rel="nofollow">mock</a></li> <li><a href="https://testtools.readthedocs.io/en/latest/" rel="nofollow">testtools</a></li> <li><a href="https://pypi.python.org/pypi/fixtures" rel="nofollow">fixtures</a></li> <li><a href="https://pypi.python.org/pypi/testscenarios" rel="nofollow">testscenarios</a></li> <li><a href="https://pypi.python.org/pypi/python-subunit" rel="nofollow">subunit</a></li> <li><a href="https://pypi.python.org/pypi/pypiserver" rel="nofollow">pipserver</a></li> <li><a href="https://pypi.python.org/pypi/devpi-server" rel="nofollow">devpi</a></li> <li><a href="https://pypi.python.org/pypi/testresources" rel="nofollow">testresources</a></li> <li><a href="http://lists.idyll.org/listinfo/testing-in-python" rel="nofollow">TIP (testing in python) mailing list</a></li> </ul><p>Sponsored By:</p><ul><li> <a rel="nofollow" href="https://www.patreon.com/testpodcast">Patreon Supporters</a>: <a rel="nofollow" href="https://www.patreon.com/testpodcast">Help support the show with as little as $1 per month. Funds help pay for expenses associated with the show.</a> </li></ul><p><a rel="payment" href="https://www.patreon.com/testpodcast">Support Test &amp; Code - Software Testing, Development, Python</a></p>