| Server IP : 167.99.254.82 / Your IP : 216.73.216.76 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/2640068/root/usr/lib/python3/dist-packages/awscli/examples/codebuild/ |
Upload File : |
**To get detailed information about test cases in AWS CodeBuild.**
The following ``describe-test-cases`` example gets information about the test cases in the specified report. ::
aws codebuild describe-test-cases \
--report-arn arn:aws:codebuild:<region-ID>:<account-ID>:report/<report-group-name>:<report-ID>
Output::
{
"testCases": [
{
"reportArn": "arn:aws:codebuild:<region-ID>:<account-ID>:report/<report-group-name>:<report-ID>",
"testRawDataPath": "<test-report-path>",
"prefix": "NUnit.Tests.Assemblies.MockTestFixture",
"name": "NUnit.Tests.Assemblies.MockTestFixture.NotRunnableTest",
"status": "ERROR",
"durationInNanoSeconds": 0,
"message": "No arguments were provided\n",
"expired": "2020-11-20T17:52:10+00:00"
},
{
"reportArn": "arn:aws:codebuild:<region-ID>:<account-ID>:report/<report-group-name>:<report-ID>",
"testRawDataPath": "<test-report-path>",
"prefix": "NUnit.Tests.Assemblies.MockTestFixture",
"name": "NUnit.Tests.Assemblies.MockTestFixture.TestWithException",
"status": "ERROR",
"durationInNanoSeconds": 0,
"message": "System.ApplicationException : Intentional Exception\nat NUnit.Tests.Assemblies.MockTestFixture.MethodThrowsException()\nat NUnit.Tests.Assemblies.MockTestFixture.TestWithException()\n\n",
"expired": "2020-11-20T17:52:10+00:00"
}
]
}
For more information, see `Working with test reporting in AWS CodeBuild <https://docs.aws.amazon.com/codebuild/latest/userguide/test-reporting.html>`__ in the *AWS CodeBuild User Guide*.