guide to run cucumber automation with bamboo

I've created Cucumber BDD Tests in for testing our product. My project is a maven project and is held in Stash currently. The tests are working fine locally, however my next step is to automate these tests through Bamboo.

Does anyone within this forum have any experience doing this? Or have any idea as to how I would go about this? I'm trying to understand how I would run these tests through CI

It would be much appreciated if anyone had any answers or suggestions at least.

Thank you,

3 answers

1 accepted

0 votes
Accepted answer

Hello @Ayesha Ahmad,

What kind of command do you use to run your tests? If it's simple Maven build, use Maven 2.x/3.x task to run your tests

You can run tests using Maven. To parse results you can use Cucumber For Bamboo plugin. This plugin adds Cucumber parsers in Build as well ad Deployment plans. It provides options to pass or fail build if any test is failed or based on failure threshold or can just print test results in Log without affecting deployment status.
The plugin also adds new UI elements to display deployment tests, Cucumbers results and pie chart of tests. It also has features to automatically link tests with JIRA issues.
https://marketplace.atlassian.com/plugins/com.mdb.plugins.cucumberforbamboo/server/overview

Hi, I am having issues in parsing the cucumber results.I am getting erred as unable to parse Json.kindly suggest.

 

hi @Alexey Chystoprudov   thank you for your reply 

i am using maven commands 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
Read article

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