describe_test_cases
¶
describe_test_cases(
report_arn: String,
*,
config_overrides: Optional[CodeBuildClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[PageSize] = None,
filter: Optional[TestCaseFilter] = None,
) -> DescribeTestCasesOutput
Returns a list of details about test cases for a report.
Parameters:
-
report_arn(String) –The ARN of the report for which test cases are returned.
-
next_token(Optional[String], default:None) –During a previous call, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. -
max_results(Optional[PageSize], default:None) –The maximum number of paginated test cases returned per response. Use
nextTokento iterate pages in the list of returnedTestCaseobjects. The default value is 100. -
filter(Optional[TestCaseFilter], default:None) –A
TestCaseFilterobject used to filter the returned reports.
Raises:
-
InvalidInputException–The input value that was provided is not valid.
-
ResourceNotFoundException–The specified Amazon Web Services resource cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/code_build.py
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 | |