Book Image

Hands-On Test Management with Jira

By : Afsana Atar
Book Image

Hands-On Test Management with Jira

By: Afsana Atar

Overview of this book

Hands-On Test Management with Jira begins by introducing you to the basic concepts of Jira and takes you through real-world software testing processes followed by various organizations. As you progress through the chapters, the book explores and compares the three most popular Jira plugins—Zephyr, Test Management, and synapseRT. With this book, you’ll gain a practical understanding of test management processes using Jira. You’ll learn how to create and manage projects, create Jira tickets to manage customer requirements, and track Jira tickets. You’ll also understand how to develop test plans, test cases, and test suites, and create defects and requirement traceability matrices, as well as generating reports in Jira. Toward the end, you’ll understand how Jira can help the SQA teams to use the DevOps pipeline for automating execution and managing test cases. You’ll get to grips with configuring Jira with Jenkins to execute automated test cases in Selenium. By the end of this book, you’ll have gained a clear understanding of how to model and implement test management processes using Jira.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Index

Example workflow to integrate and execute automated scripts


Now that we have configured our plugins to integrate with Jenkins, we now see an example of how the DevOps pipeline functions with each plugin. For this workflow, we use the following automated test script:

  1. Create a test automation code in Eclipse with a TestNG build script in XML. For this purpose, we have created the code in Java using Eclipse. We have created a new Java project in a new package namedJenkinsDemoPkg with a class nameddemoJenkins. We also use JenkinsDemoPkg.demoJenkins: testJenkins to get the complete name of the class and method, which will be used for tracking in plugins:
package JenkinsDemoPkg;
import org.testng.annotations.Test;
public class demoJenkins {
        @Test
        public void testJenkins(){
               System.out.println("Hello World");
        }
}

Now, right-click on the Java class file and select Convert to TestNG from the TestNG context menu. The TestNG plugin needs to be installed on Eclipse...