tox 快速入门
我们在开发 Python SDK 的时候经常需要支持不同的操作系统和多个 Python 解释器版本, 那么测试时自然需要在不同的环境下去测, 如果仅依靠手工方式逐一测试无疑是非常低效的, 这时候就需要一个可以自动化管理多环境测试的工具, tox 就是我们要找的
官方链接
- 源码: tox-dev/tox
- 文档: tox.readthedocs.io
开发环境
- 操作系统: 64位 Windows 10
- Python 解释器:
- win32: python-2.7.17, python-3.6.8, python-3.7.9, python-3.8.10, python-3.9.6
- amd64: python-2.7.17, python-3.6.8, python-3.7.9, python-3.8.10, python-3.9.6