Posted On: Mar 8, 2017
You can now invoke AWS CodeBuild during the ‘Test Action’ of your software release pipelines modeled in AWS CodePipeline. This capability enables you to easily run a variety of tests against your code, such as unit tests, static code analysis and integration tests.
CodePipeline is a continuous delivery service that builds, tests, and deploys your code every time there is a code change, based on the release process models you define. CodeBuild is a fully managed build service in the cloud that compiles your source code, runs tests such as, unit tests, static code analysis, integration tests, as well as produce artifacts that are ready to be deployed. Previously, you could use CodeBuild to run unit and integration tests, but only as part of a ‘Build Action’ in CodePipeline. This approach required a build output artifact, which such tests typically do not produce. Now, these tests can be performed easily, without the need for a build artifact.
To learn more about how to run unit tests with CodePipeline and CodeBuild, visit here. To learn more about various action types in CodePipeline, visit here.
For more information on CodePipeline and CodeBuild: