示例#1
0
 public TestRun AddTestRun(int projectId, TestRun run)
 {
     var response = Post("add_run/" + projectId, run);
     return JsonConvert.DeserializeObject<TestRun>(response);
 }
示例#2
0
        public TestRun UpdateTestRun(int runId, TestRun updatedRun)
        {
            var originalRun = GetTestRun(runId);
            originalRun.MergeWith(updatedRun);

            var response = Post("update_run/" + runId, originalRun);
            return JsonConvert.DeserializeObject<TestRun>(response);
        }