Skip to content

Commit

Permalink
Added a Method for the TestRail API run_report
Browse files Browse the repository at this point in the history
  • Loading branch information
danrichdan committed Mar 31, 2021
1 parent edb3041 commit 79960f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,11 @@ TestRail.prototype.getUsers = function (callback) {
return this.apiGet('get_users', callback);
};

// ----- Reports -----
TestRail.prototype.runReport = function (template_id, callback) {
return this.apiGet('run_report/' + template_id, callback);
};

// ----------


Expand Down

0 comments on commit 79960f4

Please sign in to comment.