You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MAINTAINERS.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,7 @@ In the rare cases where both parties don't have the bandwidth or expertise to co
297
297
298
298
### Structure
299
299
300
-
Our E2E framework relies on pytest fixtures to coordinate infrastructure and test parallelization - see [Test Parallelization](#test-runner-parallelization), and [CDK CLI Parallelization](#cdk-cli-parallelization).
300
+
Our E2E framework relies on pytest fixtures to coordinate infrastructure and test parallelization - see [Test Parallelization](#test-runner-parallelization) and [CDK CLI Parallelization](#cdk-cli-parallelization).
301
301
302
302
**tests/e2e structure**
303
303
@@ -335,17 +335,17 @@ Our E2E framework relies on pytest fixtures to coordinate infrastructure and tes
335
335
├── infrastructure.py # base infrastructure like deploy logic, etc.
336
336
```
337
337
338
-
You probably notice we have multiple `conftest.py`, `infrastructure.py`, and `handlers` directory.
338
+
You probably noticed we have multiple `conftest.py`, `infrastructure.py`, and `handlers` directory.
339
339
340
340
-**`infrastructure.py`**. Uses CDK to define the infrastructure a given feature needs.
341
-
-**`conftest.py`**. Handles deployment and deletion a given feature Infrastructure. Hierarchy matters
341
+
-**`conftest.py`**. Handles deployment and deletion a given feature Infrastructure. Hierarchy matters:
342
342
- Top-level `e2e/conftest` deploys stacks only once and blocks I/O across all CPUs.
343
343
- Feature-level `e2e/<feature>/conftest` deploys stacks in parallel and make them independent of each other.
344
-
-**`handlers/`**. Lambda function handlers that will be automatically deployed and exported as PascalCase for later use.
344
+
-**`handlers/`**. Lambda function handlers that will be automatically deployed and exported in PascalCase (e.g., `BasicHandler`) for later use.
345
345
346
346
### Mechanics
347
347
348
-
Under `BaseInfrastructure`, we hide the complexity of handling CDK parallel deployments, exposing CloudFormation Outputs, building Lambda Layer with the latest available code, and creating Lambda functions found in `handlers`.
348
+
Under [`BaseInfrastructure`](https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/tests/e2e/utils/infrastructure.py), we hide the complexity of handling CDK parallel deployments, exposing CloudFormation Outputs, building Lambda Layer with the latest available code, and creating Lambda functions found in `handlers`.
349
349
350
350
This allows us to benefit from test and deployment parallelization, use IDE step-through debugging for a single test, run a subset of tests and only deploy their related infrastructure, without any custom configuration.
0 commit comments