how to generate junit reports using Behave

2.5k views Asked by At

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!

1

There are 1 answers

1
jenisys On

This bug is fixed in behave-1.2.5