Пример #1
0
        public void GetAllTestRuns()
        {
            QaseAPI qaseAPI = new QaseAPI("https://api.qase.io/v1", "your api token");

            try
            {
                BaseFilter filterTestRun = new BaseFilter();
                filterTestRun.DictionaryFilters.Add($"filters[{TypeFilter.status}]", StatusTestRun.active.ToString());

                var testRuns = qaseAPI.GetAllTestRunsAsync("TEST", filterTestRun).Result;
            }
            catch (WebApiException ex)
            {
            }
            catch (ApiException ex)
            {
            }
            catch (Exception ex)
            {
            }
        }