codebuild

Implementation details for API codebuild

Coverage Overview


AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
BatchDeleteBuilds
BatchGetBuildBatches
BatchGetBuilds✔️pro✔️
BatchGetFleets
BatchGetProjects✔️pro
BatchGetReportGroups
BatchGetReports
CreateFleet
CreateProject✔️pro✔️✔️✔️✔️Show Tests
CreateReportGroup
CreateWebhook
DeleteBuildBatch
DeleteFleet
DeleteProject✔️pro✔️✔️✔️Show Tests
DeleteReport
DeleteReportGroup
DeleteResourcePolicy
DeleteSourceCredentials
DeleteWebhook
DescribeCodeCoverages
DescribeTestCases
GetReportGroupTrend
GetResourcePolicy
ImportSourceCredentials
InvalidateProjectCache
ListBuildBatches
ListBuildBatchesForProject
ListBuilds✔️pro
ListBuildsForProject✔️pro
ListCuratedEnvironmentImages
ListFleets
ListProjects✔️pro✔️✔️✔️✔️Show Tests
ListReportGroups
ListReports
ListReportsForReportGroup
ListSharedProjects
ListSharedReportGroups
ListSourceCredentials
PutResourcePolicy
RetryBuild
RetryBuildBatch
StartBuild✔️pro✔️
StartBuildBatch
StopBuild✔️pro✔️
StopBuildBatch
UpdateFleet
UpdateProject✔️pro✔️✔️✔️Show Tests
UpdateProjectVisibility
UpdateReportGroup
UpdateWebhook

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CreateProject

Parameters: artifacts, environment, name, serviceRole, source
  • LocalStack Pro
    • test_project_crud_operations LocalStack Pro: tests/aws/services/codebuild/test_codebuild.py::TestCodeBuild::test_project_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_project_crud_operations LocalStack Pro: tests/aws/services/codebuild/test_codebuild.py::TestCodeBuild::test_project_crud_operations HTTP Status Code: 400 (ResourceAlreadyExistsException) AWS validated Snapshot Tested

DeleteProject

Parameters: name
  • LocalStack Pro
    • test_project_crud_operations LocalStack Pro: tests/aws/services/codebuild/test_codebuild.py::TestCodeBuild::test_project_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested

ListProjects

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_project_crud_operations LocalStack Pro: tests/aws/services/codebuild/test_codebuild.py::TestCodeBuild::test_project_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateProject

Parameters: environment, name, timeoutInMinutes
  • LocalStack Pro
    • test_project_crud_operations LocalStack Pro: tests/aws/services/codebuild/test_codebuild.py::TestCodeBuild::test_project_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: name
  • LocalStack Pro
    • test_project_crud_operations LocalStack Pro: tests/aws/services/codebuild/test_codebuild.py::TestCodeBuild::test_project_crud_operations HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

Last modified February 10, 2025: Update Parity Coverage Docs (#1651) (b83a34819)