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?
- Add the dependencies to the project
- Maven Central
- Create a Test Rail Api Client
Usage 1 : Defining your testrail information in property file
- Add a testrail.properties to your project's resources folder(src/test/resources or src/main/resources)
- Define all the meta information about your testrail.
Usage 2 : Creating an instance of Test Rail Api Client using Builder pattern
Usage 3 : Passing it as system or environment variables
- Create an instance for TestRailService and call appropriate methods.
Simple Code Snippets
- When TestRailApiClient is handled via properties file
- When TestRailApiClient is built via builder pattern
- When we were using this api client in TestNG based frameworks it will be very easy to plug and use.
Note : TestNGService class have overloaded constructor to pass the TestRailApiClient instance