创建鼻子测试跑步者的构建方法
tranchitella.recipe.nose的Python项目详细描述
tranchitella.recipe.nose
此配方创建一个nose测试运行程序脚本。
使用量
配方支持以下选项:
鸡蛋
The eggs option specified a list of eggs to test given as one ore more setuptools requirement strings. Each string must be given on a separate line.
脚本名称
The script option gives the name of the script to generate, in the buildout bin directory. Of the option isn’t used, the part name will be used.
默认值
The defaults option lets you specify testrunner default options.
额外路径
One or more extra paths to include in the generated test script.
这是一个最小的“buildout.cfg”文件,用于创建测试运行程序:
[test] recipe = tranchitella.recipe.nose eggs = myapplication defaults = --where src --with-coverage --cover-package myapplication
更改
0.1(2010-04-21)
- 首次公开发行。