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.
Add this line to your application's Gemfile:
gem 'testrail_api_client', git: '[email protected]:tamaki-shingo/testrail_api_client.git'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install testrail_api_client
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)
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.
Everyone interacting in the TestrailApiClient project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
testrail_api_client inspired by testrail_api. that library alredy archived. so I made testrail_api_client to supports more APIs.