skillfed

aws-cdk.integ-tests-alpha

CDK Integration Testing Constructs

aws-cdk-integ-tests-alpha v2.265.0a0 179.2K downloads/30d#10,177 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This package provides CDK constructs for defining and running integration tests against AWS CDK applications. You write a test as a self-contained CDK application, wrap it with the IntegTest construct, and then use the integ-runner CLI to synthesize, deploy, and validate your infrastructure. The package is experimental (marked as Beta in development status) and part of the AWS CDK ecosystem.

It supports multiple test cases per integration test, customizable deployment workflows, and assertions against deployed infrastructure via AWS API calls. You can define different options for individual test cases, enable asset diffing, and control deployment parameters like approval requirements and destruction behavior. The package depends on aws-cdk-lib, constructs, jsii, and publication.

Use it for:

  • Test CDK stacks under different configurations (e.g., Lambda with different architectures) before production deployment
  • Validate that infrastructure synthesizes and deploys correctly across multiple scenarios
  • Make assertions on deployed AWS resources using AWS API calls to verify expected behavior
  • Customize deployment workflows with specific CDK command options and approval policies
  • Define integration tests as part of a CDK application to catch infrastructure issues early

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides constructs and utilities for writing and executing integration tests for AWS CDK applications, enabling you to test CDK stacks before deployment.

Yes, if you are actively developing AWS CDK constructs or applications and need to test them before deployment. The package is actively maintained and has low install friction. However, be aware that it is experimental and may introduce breaking changes in future releases—review release notes before upgrading. You will also need the integ-runner CLI to actually execute the tests.

Install

aws-cdk-integ-tests-alpha on PyPI

pip

pip install aws-cdk-integ-tests-alpha

uv

uv add aws-cdk-integ-tests-alpha

poetry

poetry add aws-cdk-integ-tests-alpha

Installing aws-cdk.integ-tests-alpha

Before you install

Active maintenance with a recent release (1 day old). Low install friction with 4 runtime dependencies. The package is marked experimental and subject to non-backward compatible changes, so expect potential breaking updates.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restriction, though you should review the full license terms for your specific use case.

Quickstart

from aws_cdk import App, Stack
from aws_cdk.integ_tests_alpha import IntegTest

app = App()
stack = Stack(app, "MyStack")
IntegTest(app, "MyIntegTest", test_cases=[stack])

Requires AWS CDK CLI (integ-runner) to execute integration tests; this package provides constructs only.

Verify before relying

  • Whether integ-runner CLI is packaged separately or must be installed independently
  • Supported versions of aws-cdk-lib and constructs beyond the runtime dependency declaration

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — aws-cdk-lib, constructs, jsii, publication
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 179,218/month — #10,177 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk_integ_tests_alpha-2.265.0a0-py3-none-any.whl

Development Status :: 4 - BetaFramework :: AWS CDKFramework :: AWS CDK :: 2Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

aws cdk integration testingcdk test constructsaws infrastructure testingcdk stack validationintegration test framework cdkcdk deployment testingaws api assertions
aws-cdkinfrastructure-testingexperimental

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

aws-cdk.aws-kinesisanalytics-flink-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-codestar-alpha

Provides AWS CDK constructs for AWS CodeStar…

permissive · top 15,000 on PyPI

cdk-nag

Scans AWS CDK applications and CloudFormation…

permissive · top 5,000 on PyPI

aws-cdk.core

Provides the core construct classes and stack…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3-assets

Packages local files and directories for…

permissive · top 15,000 on PyPI

aws-cdk.aws-apprunner-alpha

Provides AWS CDK constructs for deploying…

permissive · top 15,000 on PyPI

aws-cdk.aws-lambda

Defines AWS Lambda functions and layers as…

permissive · top 15,000 on PyPI

aws-cdk-lib

Provides Python APIs to define and deploy AWS…

permissive · top 5,000 on PyPI

aws-cdk.aws-apigateway

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-destinations-alpha

Provides AWS CDK constructs for configuring…

permissive · top 15,000 on PyPI