Test & Code :  Python Testing for Software Engineering

Test & Code is a weekly podcast hosted by Brian Okken. The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics. When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.

https://testandcode.com

subscribe
share





13: Ian Cordasco – Betamax


Testing apps that use requests without using mock.

Interview with Ian Cordasco (@sigmavirus24)

Topics:

  • Betamax - python library for replaying requests interactions for use in testing.
  • requests
  • github3.py
  • Pycon 2015 talk: Ian Cordasco - Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015
  • Pytest and using Betamax with pytest fixtures
  • The utility (or uselessness) of teaching programming with Java (My own rant mainly)
  • Rackspace and Ian’s role at Rackspace and OpenStack
  • Python Code Quality Authority: flake8, pep8, mccabe, pylint, astroid, …
  • Static code analysis and what to use which tool when.
  • Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015

Links:

  • Testing Python-Requests with Betamax
  • Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015
  • github3.py
  • requests
  • Rackspace
  • Openstack
  • Python Code Quality Authority and documentation
  • GitLab
  • Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015

Other Betamax resources:

  • Betamaxing Boto3
  • Using Betamax with pytest fixtures
  • Isolated @memoize


share







 2016-02-17  20m