From 79960f48494e00af65863cdb716ae9aa4ac3248b Mon Sep 17 00:00:00 2001 From: Dan Riches Date: Tue, 30 Mar 2021 19:36:42 -0700 Subject: [PATCH] Added a Method for the TestRail API run_report --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 5479cb9..b329758 100644 --- a/index.js +++ b/index.js @@ -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); +}; + // ----------