Skip to end of metadata
Go to start of metadata

Further to providing a fully equipped and free REST API as part of Test Management for Jira, there is also additional support for integration with automated testing. 

This includes the following:

  • A plugin for Jenkins
  • Support for JUnit tests
  • Support for Cucumber tests
     

Using these features and functionalities removes the need to create custom scripts to post data to Test Management for JIRA, making the process more simple and easy-to-use. Below are some examples of how the flow works between the development project, CI tool and Test Management for Jira. For more information on how to implement these flows, see the following pages:

  • Jenkins - setting up the Test Management for JIRA Jenkins plugin to automatically post test results to JIRA and pull BDD tests from JIRA 
  • Other CI tools and local testing - adding a script to other CI tools to automatically post test results to JIRA 
  • BDD test cases - writing BDD test cases in Test Management for JIRA and exporting to feature files
  • Annotating Test Cases - Test Management for JIRA annotations for Cucumber and JUnit tests within a development project 

Using TM4J Jenkins plugin with BDD test cases 

A user can write BDD test cases in Test Management for Jira, which can then be exported to a feature file from which the developer can write corresponding unit tests in a development project. Using the plugin, Jenkins tasks can be configured to pull BDD test cases from Jira, run these tests in Jenkins, and post the results back to JIRA. 

Using TM4J annotations with other CI tools/running locally


Alternatively, a user can follow a similar path with exporting BDD test cases from JIRA as a reference, annotate tests in a development project, add a pre-made script as a task to the CI tool of choice, and this will post test results to JIRA. Running tests locally with annotations and a pre-made script will also allow the user to send test results to JIRA. 

Have a question for us?


  • No labels