damianszczepanik / cucumber-reporting-jenkins

Java jenkins plugin for cucumber-jvm reporting
151 stars 12 forks source link

using pytest --cucumberjson #173

Closed MonRes closed 5 years ago

MonRes commented 5 years ago

Hi. I've got some problem with generate proper json for cucumber. I try to use "pytest some_test.py --cucumberjson=target/cucumber.json" in declarative pipeline in jenkins. I receive cucumber.json file in workspace but this json include empty list "[]".

Second way.. I created json using pytest-json plugin and than try to convert it using behave2cucumber but it also not work. I receive AtributeError that 'str' object do not have 'pop' one.

Could you tell me what I need do configure to create proper json?

damianszczepanik commented 5 years ago

Not this project

MonRes commented 5 years ago

@damianszczepanik could you help me and tell where I can put my question?