小编jul*_*n88的帖子

如何使用Behave Python生成Junit输出报告

我在Python上使用Behave来测试Web应用程序.我的测试套件运行正常,但我无法生成junit报告.

这是我的behave.ini文件:

    [behave]
junit=true
format=pretty
Run Code Online (Sandbox Code Playgroud)

我只运行使用此命令:behave

运行后,测试结果将在控制台中打印,但不会生成任何报告.

1 feature passed, 3 failed, 0 skipped
60 scenarios passed, 5 failed, 0 skipped
395 steps passed, 5 failed, 5 skipped, 0 undefined
Took 10m17.149s
Run Code Online (Sandbox Code Playgroud)

我能做什么 ?

python testing junit

6
推荐指数
1
解决办法
3148
查看次数

标签 统计

junit ×1

python ×1

testing ×1