13: Ian Cordasco – Betamax




Test & Code - Software Testing, Development, Python show

Summary: <h2>Testing apps that use requests without using mock.</h2> <p>Interview with Ian Cordasco (<a href="https://github.com/sigmavirus24" rel="nofollow">@sigmavirus24</a>)</p> <p><strong>Topics:</strong></p> <ul> <li>Betamax - python library for replaying requests interactions for use in testing.</li> <li>requests</li> <li>github3.py</li> <li>Pycon 2015 talk: Ian Cordasco - Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015</li> <li>Pytest and using Betamax with pytest fixtures</li> <li>The utility (or uselessness) of teaching programming with Java (My own rant mainly)</li> <li>Rackspace and Ian’s role at Rackspace and OpenStack</li> <li>Python Code Quality Authority: flake8, pep8, mccabe, pylint, astroid, …</li> <li>Static code analysis and what to use which tool when.</li> <li>Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015</li> </ul> <p><strong>Links:</strong></p> <ul> <li><a href="https://semaphoreci.com/community/tutorials/testing-python-requests-with-betamax" rel="nofollow">Testing Python-Requests with Betamax</a></li> <li><a href="https://youtu.be/YHbKxFcDltM?t=1m55s" rel="nofollow">Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015</a></li> <li><a href="https://pypi.python.org/pypi/github3.py" rel="nofollow">github3.py</a></li> <li><a href="http://docs.python-requests.org/en/master/" rel="nofollow">requests</a></li> <li><a href="https://www.rackspace.com/" rel="nofollow">Rackspace</a></li> <li><a href="https://www.openstack.org/" rel="nofollow">Openstack</a></li> <li> <a href="https://github.com/PyCQA" rel="nofollow">Python Code Quality Authority</a> and <a href="http://meta.pycqa.org/en/latest/" rel="nofollow">documentation</a> </li> <li><a href="https://about.gitlab.com/" rel="nofollow">GitLab</a></li> <li><a href="https://www.youtube.com/watch?v=wf-BqAjZb8M" rel="nofollow">Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015</a></li> </ul> <p><strong>Other Betamax resources:</strong></p> <ul> <li><a href="http://www.roadsi.de/betamaxing-boto3.html" rel="nofollow">Betamaxing Boto3</a></li> <li><a href="http://www.coglib.com/%7Eicordasc/blog/2015/07/betamax-050-now-with-a-pytest-fixture.html" rel="nofollow">Using Betamax with pytest fixtures</a></li> <li><a href="http://nedbatchelder.com/blog/201601/isolated_memoize.html" rel="nofollow">Isolated @memoize</a></li> </ul><p><a rel="payment" href="https://www.patreon.com/testpodcast">Support Test &amp; Code - Software Testing, Development, Python</a></p>