Chapter 9: Testing matrix with Tox
Alfredo Deza
Tox is a project that comes from the same creators of the Pytest framework. Its first release was announced a few years ago by Holger Krekel. My first reaction was that I hoped the tool would create different Python installations. It was back when most Python software was developed for 2.5 and 2.6, while 2.7 was in the near horizon.
I didn’t understand why it was so useful and didn’t quite grasp what it was trying to solve. The language differences in the Python 2.x series wasn’t drastic, and Python 3 was not a reality. And then, one day, I was releasing a new version of a library I was maintaining and released it on the Python Package Index (PyPI): the library was uninstallable. As soon as someone ...
Get Testing In Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.