Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

 

...

 

Image Removed

 

 

 

 

JBehave

 

 Integrate JBehave framework with Bamboo and JIRA
JBehave integration with Bamboo and JIRAImage Removed
    JBehave parser for Bamboo and task to Bamboo to Parse JBehave results in JIRA. It create a test in Bamboo for each JBehave scenario. This task reads all XML files in Bamboo test plan working directory. You must enable XML format in your JBhehave project.
    This task also links Bamboo test runs and run information to individual JIRA issues by finding issue ids in JBehave scenarios.

...

How to configure Bamboo plan?

...

1. Click on Create > Create a new plan

 


2. Provide necessary information

 


 3. Select source repository of your test code and provide login details. Select your repository and click configure plan.

 


  This will add Source code checkout task.

 

 

 4.   Now add task Maven/Ant/Command to execute the source code. In this example i have added Maven and provided goal "integration-test" as defined in my JBehave project configuration. 

 

 

 

 

 


5.  Now add JBehave parser task to parse results generated by above task.

 

 

 


 6.   If you want to integrate JBehave test results parsed in Bamboo to be integrated in JIRA as well so that JIRA users can see all information in issue itself, enable JIRA settings. Enable the actions you  want to be performed in JIRA issue.

 

 

 

7. Run plan

 

 

Build Result Summary:

...

JBehave Scenarios as Tests in Bamboo:

 

 


Logs in Bamboo:

 

 

 

   Now, you may want to see JBehave html results attached to the build. This is quick and easy.

...

Test run links

 

Labels in JIRA:

 


Comments in JIRA:

 

 

  JBehave tab in Bamboo build result summary:

...