跳转到主要内容

使用颜色但不过度使用终端重定位的behave格式化器

项目描述

behave-plain-color-formatter

使用颜色但不过度使用终端重定位的behave格式化器

screenshot

安装

pip install behave-plain-color-formatter

用法

您可以直接在命令行中使用-f参数指定格式化器

behave -f behave_plain_color_formatter:PlainColorFormatter

或者

behave --format behave_plain_color_formatter:PlainColorFormatter

您还可以将格式化器注册为简单名称

# -- FILE: behave.ini
[behave.formatters]
plain.color = behave_plain_color_formatter:PlainColorFormatter

并像这样使用它

behave -f plain.color

项目详情


下载文件

下载适合您的平台文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

由以下支持