Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

amuthansakthivel/TestRail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Test Rail API Client

This project contains easy to use code to integrate the Java Test Automation project to the Test Rail

How to use this library?

  1. Add the dependencies to the project
  2. Maven Central img.png
  3. Create a Test Rail Api Client

Usage 1 : Defining your testrail information in property file

  1. Add a testrail.properties to your project's resources folder(src/test/resources or src/main/resources)
  2. Define all the meta information about your testrail. img_1.png

Usage 2 : Creating an instance of Test Rail Api Client using Builder pattern

img.png

Usage 3 : Passing it as system or environment variables

img.png

  1. Create an instance for TestRailService and call appropriate methods.

Simple Code Snippets

  1. When TestRailApiClient is handled via properties file

img.png

  1. When TestRailApiClient is built via builder pattern

img.png

  1. When we were using this api client in TestNG based frameworks it will be very easy to plug and use.

img_3.png

Note : TestNGService class have overloaded constructor to pass the TestRailApiClient instance

About

Open source library used to update, publish results in Test Rail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages