Cucumber.js tests

Deleted user January 10, 2018

Hi,

I tried to find any information how to configure plan for running tests written in Cucumber.js.

1. on localhost I am running tests via yarn command which is alias to "cucumber-js".

2. then I convert standard *.json report to HTML report via https://www.npmjs.com/package/cucumber-html-reporter

How can be this achieved via Bamboo?

Thank you very much.

 

1 answer

0 votes
James Peckham December 21, 2018

Unfortunately this isn't an answer post... did you ever solve this? I'm about to embark upon it.

Deleted user December 22, 2018

Yes. Just run test an then convert cucumber result json to JUnit xml format. I had to write new NPM package for that because existing has major flaw (it considered each step as test case).

https://www.npmjs.com/package/cucumber-junit-convert

Like James Peckham likes this
James Peckham December 22, 2018

Thanks for open sourcing that for the community!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events