Junit not outputted with Behave

Hi

 

I just got the trial license for PyCharm for it's BDD support :)

How can make sure that the junit report is created. I have the following behave.ini at my root

[behave]
format=pretty
junit=true
junit_directory="reports"

I've tried with no directory listed so that it can be created. I've tried all kinds of directory names too and it doesn't seem to be created. I've confirmed that behave -v outputs that I want the junit report created.

infp>behave -v
Loading config defaults from "./behave.ini"
Using defaults:
...
junit True
junit_directory "reports"
format ['pretty']
outfiles ['pretty.output']

What am I doing wrong here?

 

2 comments
Comment actions Permalink

Hi,

It seems that PyCharm does not support JUnit for Behave, please see: https://youtrack.jetbrains.com/issue/PY-14219#focus=streamItem-27-2972670.0-0

I've just reproduced the issue so it's still valid, unfortunately. 

0
Comment actions Permalink

Thanks for the note. Shame it doesn't seem like it will be implemented as the issue is 5 years old. But ok, I still very much enjoy PyCharm :)

0

Please sign in to leave a comment.