python Archive

Mutation Testing in Python

Mutation testing is a technique for systematically mutating source code in order to validate test suites. It makes small changes to a program’s source code and then runs a test suite; if the test suite ever succeeds

Python Packaging and Testing with devpi and tox

This talk discusses good ways to organize packaging and testing for Python projects. It walks through a per-company and an open source scenario and explains how to best use the “devpi-server” and “tox” for making sure you

Getting Started Testing in Python

If you’ve never written tests before, you probably know you *should*, but view the whole process as a bureaucratic paperwork nightmare to check off on your ready-to-ship checklist. This is the wrong way to approach testing. Tests

Application Deployment: State of the Onion

This talk overviews the various deployment tools available today, discusses their different tradeoffs, and helps shine a light on which might be the appropriate platform for your project.

Advanced Usage of py.test Fixtures

One unique and powerful feature of py.test is the dependency injection of test fixtures using function arguments. This talk presents py.test’s fixture mechanism gradually introducing more complex uses and features. This should lead to an understanding of