Get in touch

BDQ Solutions

Lightning Implementations
For people who know what they want, and want it done fast
Enhancement Hours
Get best practice and configuration consultancy.
Review and Assessment
A low cost, low risk way to get the assistance you need.
Digital Adoption Services
Make sure software is being used consistently across teams.
PII Services
Our solution to help you find unauthorised data.
DevOps Services
Get great, high quality software shipped faster. Faster.
Test Automation & Management
Reduce costs and increase quality with automation.

    Atlassian Solutions

    Atlassian Enterprise
    SCALE WITH CONFIDENCE USING THE BENEFITS OF pREMIUM AND aCCESS
    Jira Work Management
    work management for technical & non-technical teams.
    Cloud Migration Services
    Quicker and more cost effective than doing it in house.
    Jira Service Management / ITSM
    Fast, painless, fixed price ITSM implementations.
    BDQ AtlassianCare
    Cost effective, flexible care options.
    Other Atlassian Services
    Maximise the potential of your Atlassian products.

      Other Solutions

      LEXZUR PRACTICE MANAGEMENT
      Complete MANAGEMENT software for legal practitioners.
      Asana Digital Work Management
      A simple, flexible way to manage work for business.

      Solutions

      Expert consulting and managed services to help complex organisations to work flatter, faster and more dynamically.

      To find out more detail on a Solution or how we implement it, check out our Solutions Home page.

      SOLUTIONS HOME →
        Partner Products

        haloitsm-logo-horizontal-827x128

        products-partner-logos-monday-300x150

        glpi-logo-bdq-280x84

        products-partner-logos-atlassian-300x150

        products-partner-logos-asana-300x150

        products-partner-logos-lexzur-300x150

        products-partner-logos-sonatype-300x150

        products-partner-logos-zephyr-300x150

         

          BDQ partners with the best work management solution providers to offer a range of software options to solve any problems you may have. And where a solution doesn't exist, we create one with our BDQ Original apps and add-ons.

          VIEW ALL PRODUCTS →

           

          bdq-cred-reseller-600x600Fulfil your software product needs through BDQ and enjoy all the benefits we offer as Value Added Resellers

          RESELLER BENEFITS →

            Training

            BDQ provides high-quality technology training to customers in the UK, EU and US.

            Our customers range from small companies to non-profits to multinational enterprises. They all want to maximise employee productivity.

            We listen to what our customers want to achieve and tailor the syllabus accordingly when delivering courses.

            Training Home →

              About Us

              This is where you can find out all about BDQ. Where did we come from, what is our goal, what do our customers have to say about working with us? You'll find all those answers and more using the links here.

              However, if you have any questions that you haven't found answers for, feel free to get in touch.

               

                5 min read

                Test Automation - How it works with Zephyr

                Featured Image

                This is a short blog post about Zephyr for Jira and the various options for integrating it with test automation. This was correct at the time of writing, but Zephyr are very active with their product development, so expect more features to be on their way!

                What is Zephyr for Jira and what has it got to do with test automation?

                Zephyr for Jira is a very popular test automation tool that is fully integrated with Jira. It is available both on Server and on Cloud. It is very effective for managing manual testing and has all the usual facilities that one might expect. However, it also exposes interfaces and has plugins that allow it to show results from automated builds and other test tools. 

                You can therefore show both results from manual testing, and automated testing, all within the same product!

                Core Zephyr for Jira concepts

                Zephyr for Jira uses the following. There is more, but this is relevant to the automation discussion.

                Object Description

                Test Cases

                These are specialised type of Jira issues, which contain test steps, summaries, descriptions and so forth. A Test Case will be executed within the context of a Test Cycle. Passes, fails etc will appear within Test Cycles.

                Releases/FixVersions

                This is a Jira concept, which Zephyr for Jira uses. The basic idea is that work is grouped into Releases. V1.0, V2.0 and so forth. Stories would generally be in one Release, but an Epic may span more than one Release (depending on how you are structuring your Agile projects). It is important to note this, as Zephyr Test Cycles, are associated with Releases.

                Therefore you can have the concept of Smoke Tests, Functional Tests, re tests or any other group of tests, all associated with a given Release. E.g. "We need to run the Regression Cycle before releaseing V3.0.

                Test Cycles

                These are associated with a Release, and contain a number of Test Cases.

                A Test Case can be in any number of Test Cycles, and its result may be different depending on the Test Cycle. E.g. it may fail in Cycle 1, but after being fixed, it may pass in Cycle 2.

                The Execution result of a Test Case exist in the context of a Test Cycle.

                 

                test-automation-and-zephyr-for-jira-example-test-cycle

                The automation interfaces allow us to push results into these constructs. Here we have an example of a Test Cycle for a version 3.0.0 release.

                Integration options

                These interfaces mainly use REST and JSON - currently within an API called the ZAPI (Zephyr API). Zephyr do provide all the documentation for this.

                You must push data into the structures above.

                For example:

                • A set of Junit tests would each correspond to a test case
                • Each execution of those tests would correspond to a Test Cycle, with the results in that Test Cycle.

                As things stand, the integration options are as follows:

                • Jenkins/Bamboo plugins. These are plugins which you can use within your CI/CD tool. 
                  • These will generate Test Cases and Test cycles.
                  • Junit or TestNG files should be generated during your build job, and passed to the plugin
                  • The plugin will push the results back to Zephyr for Jira
                • ATOM - the user uploads files directly into Zephyr For Jira, creating test results
                • ATOM Zbot agent installed on remote server:
                  • The Zbot can retrieve files from a given location.
                  • It can be triggered using the ATOM API, remotely (e.g. during a build, or manually)
                • ZAPI - direct REST API access - full control
                  • You can add data directly via the REST API
                  • It is your responsibility to create the required structures
                  • This is the most complex route
                  • The API documents are here: https://getzephyr.docs.apiary.io/#

                An ATOM task looks like the screen below, and is accessible from the Jira Server. 

                test-automation-and-zephyr-for-jira-atom-task

                The Jenkins plugin is similar:

                test-automation-and-zephyr-for-jira-jenkins-plug-in

                In both cases, you can see that you have to choose a Verions and a Cycle (or allow a new Cycle to be created). Test Cycles are where the automation frameworks post their results.

                Summary

                The easiest way of pushing back results is to use the plugin - drop them into Bamboo or Jenkins, configure accordingly, and you will start to get results from your CI/CD processes appearing within Zephyr for Jira.

                The most control, and most complex route, involves using the full ZAPI REST api. You have to do everything yourself manually, and the ZBot and ATOM framework is in the middle - this allows you to pull results, and trigger via the REST API, or manually.

                If you would like more advice, or assistance with implementing test automation, please get in touch.

                Get in touch

                Useful links:

                Test Management for global IT implementations with Jira & Zephyr webinar recording
                Test Automation and Management solution page
                Zephyr product page