Cucumber.js tests

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

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

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 1 person likes this

Thanks for open sourcing that for the community!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

31 views 2 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you