诱惑行为整合
allure-behave的Python项目详细描述
安装和使用
$ pip install allure-behave $ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features $ allure serve %allure_result_folder%
支持并行行为
当前behave parallel的实现使得一些诱人的特性无法访问。所以在这种情况下你需要修补你的 使用格式化程序而不是environment.py文件。如果你不使用environment.py,只需在调用allure时使用空的 就像下面的例子。
fromallure_behave.hooksimportallure_report### your codeallure_report("path/to/result/dir")