예제 #1
0
        public void WriteTestsToFile(List <ulong> tests)
        {
            using var sw = File.CreateText($"EditTests.csv");

            foreach (var test in tests)
            {
                var testCase = _apiClient.GetCase(test);
                sw.WriteLine($"C{testCase.ID},{testCase.Title.Replace(",", "")},https://webkm-tm.wbs.only.sap/testrail//index.php?/cases/view/{testCase.ID}");
            }
        }
예제 #2
0
        public void Authentication_Is_Successful()
        {
            var response = _client.GetCase(1);

            Assert.NotEqual(HttpStatusCode.Unauthorized, response.StatusCode);
        }