tamaki-shingo / testrail_api_client

TestRail API v2 wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestrailApiClient

This is implimentation of client for testrail API. It suports TestRail API but not all APIs yet. You can check which APIs are supported on this wiki.

Installation

Add this line to your application's Gemfile:

gem 'testrail_api_client', git: 'git@github.com:tamaki-shingo/testrail_api_client.git'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install testrail_api_client

⚠️ testrail_api_client isn't publish to ruby gems yet. It will be publish It will be publish in the future.

Usage

url  = "https://example.testrail.com"
user = "your_user"
pass = "your_password"
client = TestRailApiClient::Client.new(url, user, pass)

# GET
projects = client.projects

# POST
project_id = 1
param = 
{
    "name": "Milestone sample",
    "description": "Hello Milestone"
}
client.add_milestone(project_id, param)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tamaki-shingo/testrail_api_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Code of Conduct

Everyone interacting in the TestrailApiClient project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Thanks

testrail_api_client inspired by testrail_api. that library alredy archived. so I made testrail_api_client to supports more APIs.

About

TestRail API v2 wrapper

License:MIT License


Languages

Language:Ruby 99.4%Language:Shell 0.6%