master.py
master.py

Reputation: 225

how to generate junit reports using Behave

I've tried to use console and configuration file to generate JUnit report - without any success. To be more precise, I get empty file TESTS-features.forms.xml in reports folder. I've tried to change default folder for reports - without any luck. There is also pretty.output, but it is log from console.

Here is screenshot: enter image description here

My goal is to obtain reports that can be processed by some Jenkins plugin (like Cucumber Reports).

This is my behave.ini:

[behave]
junit=true
format=pretty

Perhaps someone can provide me working example, I'm talking about config file? Any help is welcome!

Upvotes: 0

Views: 2632

Answers (1)

jenisys
jenisys

Reputation: 734

This bug is fixed in behave-1.2.5

Upvotes: 1

Related Questions