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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access