3

I'd like to verify my idea of setting up test architecture in projects managed by Jira.

Jira itself does not provide tools for unit or functional testing, but it has different plugins to manage testing and some for managing automated testing, e.g. TestFLO Automation - can run autometed tests and save their results (JUnit format) as Jira issues.

So the sequence of steps to define test automation architecture in Jira would be as follows:

  1. Define test automation frameworks/software which could be used with your product.
  2. Check their integration with Jira with usage of Jira plugins.
  3. Select sets testing frameworks/software -- Jira plugin that best suits your needs.

Is this strategy right? Or is there any other strategy?


UPDATE (2018.05.04):

Actual sequence of steps was:

Precondition: We know that we should use Jira to track bugs & manage tasks

  1. Define test-automation tools (we decided to use: + + + )
  2. Then we had to select test management tool (Jira plugin or stand-alone app) which could be integrated with Jira & autotests. We chose for some reasons, and use its API to integrate with autotest (pass results from autotests to testrail)

3 Answers 3

2

I don't think that orchestrating testing process from Jira is the best option.

Testing process should go hand-by-hand with the development and driven by Continuous Integration and Delivery so in the ideal world the process from developer's commit to publishing new release into production should be completely unattended and automated.

As a strong believer of KISS principle I tried to avoid any tools, plugins, 3rd-party applications and services as much as possible and used functionalities which come out-of-the-box with the infrastructure products.

In case of Jira - it provides REST API so you can create, read, update and delete any entities, like create issue if new test fails, leave a comment regarding issue is being reproducible on a new build, etc.

3
  • It's fine if we are talking about unit-tests, but what about integration and functional tests? Jul 7, 2016 at 7:45
  • Unit testing is subset of functional testing (as well as integration). The approach is the same for any testing type
    – Dmitri T
    Jul 7, 2016 at 8:44
  • So you suggest not to use Selenium, TestNG, UFT etc. testing tools? Jul 7, 2016 at 9:15
1

This is what I had implemented for one of my clients. Automation Framework: This was developed using QTP and HP Load Runner.

Test Management Tool: HP QC was used for test management, test case repository, Single Point of Reporting, Release management and Defect Management.

Integration between Jira and HP QC: There are several bridge apps/servers available but in our case we used Tasktop. You can find more details on all the tools in https://marketplace.atlassian.com. Also we integrated Bugzila

What was achieved: The tester was able to execute a test case i.e. trigger the automated test to run from QC. The actual script used to run on QTP systems and results were directly updated on QC on completion whether it had failed or passed. Even mails were triggered on completion. On failure the tester used to analyse the logs captured and stored and log a defect on QC. We had clearly defined filters and fields on QC and depending on which fields were chosen by the tester it used to trigger a task/issue creation on Jira And OR defect on Bugzila (depending on the nature of the bug or impacted component as we were dealing in a multi vendor environment, where different vendors and teams were responsible for testing, using different defect tracking tools). We had implemented multiway communication which could be triggered either from Jira, Bugzila or QC but at the end restricted it to trigger from QC only via testers and other activities were taken care manually.

Hope this will provide an idea and help you. All the best!

1

I am not 100% sure what you are trying to achieve, but I think you should have a look at Atlassian Bamboo as a continuous integration server as it integrations pretty good with Jira.

A ci-server should be able to work with any testing tools, I would not worry to much about what tools to pick or not. Select the ones that best suit your needs.

Bamboo can run all your automated tests and link artifacts within Jira issues. Because Bamboo integrates with Jira for each issue you can see what builds are successfull and which arent. Also you should be able to create Jira issues on failing builds by using the Jira API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.