예제 #1
0
        public void GetAllTestRunResults()
        {
            QaseAPI qaseAPI = new QaseAPI("https://api.qase.io/v1", "your api token");

            try
            {
                BaseFilter filterTestRunResult = new BaseFilter();
                filterTestRunResult.DictionaryFilters.Add($"filters[{TypeFilter.status}]", StatusTestRunResult.passed.ToString());

                var testRunResults = qaseAPI.GetAllTestRunResultsAsync("TEST", filterTestRunResult).Result;
            }
            catch (WebApiException ex)
            {
            }
            catch (ApiException ex)
            {
            }
            catch (Exception ex)
            {
            }
        }