pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

pytest-bdd reporting

Open humming-bird-21 opened this issue 5 years ago • 2 comments

I am using pytest-bdd for running the bdd tests. I am trying to get the results following the run using the flag --gherkin-terminal-reporter, however not able to get any results displated on terminal. --cucumberjson works and creates the json file though.

Plus is there any html report for pytest-bdd ?

humming-bird-21 avatar Aug 05 '19 09:08 humming-bird-21

Just dropping the knowledge I have for the first part: seems like with --gherkin-terminal-reporter I have add -v or -vv as further options. Not sure if that is as intended.

lutostag avatar Aug 14 '19 16:08 lutostag

There are two html reporters for pytest-bdd.

  • pytest-html {https://pypi.org/project/pytest-html/}
  • allure-pytest-bdd {https://pypi.org/project/allure-pytest-bdd/}

ricwal-richa avatar Jan 20 '20 12:01 ricwal-richa