tox:命令行驱动的CI前端和开发任务自动化工具

时间:2024-02-19 21:14:21
【文件属性】:

文件名称:tox:命令行驱动的CI前端和开发任务自动化工具

文件大小:343KB

文件格式:ZIP

更新时间:2024-02-19 21:14:21

python testing cli circleci automation

毒物自动化项目 命令行驱动的CI前端和开发任务自动化工具 在其核心处,tox提供了一种在隔离环境中运行任意命令的便捷方法,可将其用作构建,测试和发布活动的单个入口点。 tox是高度可和。 示例:使用Python 3.7和Python 3.8运行测试 tox主要用作命令行工具,并且需要pyproject.toml包含配置的tox.ini或tool.tox部分。 要测试具有一些测试的简单项目,下面是一个在项目根目录中带有tox.ini的示例: [tox] envlist = py37,py38 [testenv] deps = pytest commands = pytest $ tox [lots of output from what tox does] [lots of output from commands that were run] __________________ summary _________________ py37: commands succeeded py38: commands succeeded congratulations :)


网友评论