|
31 | 31 | - [E2E framework](#e2e-framework)
|
32 | 32 | - [Structure](#structure)
|
33 | 33 | - [Mechanics](#mechanics)
|
34 |
| - - [Authoring an E2E test](#authoring-an-e2e-test) |
| 34 | + - [Authoring a new feature E2E test](#authoring-a-new-feature-e2e-test) |
35 | 35 | - [Internals](#internals)
|
36 | 36 | - [Test runner parallelization](#test-runner-parallelization)
|
37 | 37 | - [CDK CLI parallelization](#cdk-cli-parallelization)
|
@@ -346,7 +346,7 @@ Where:
|
346 | 346 |
|
347 | 347 | ### Mechanics
|
348 | 348 |
|
349 |
| -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 | +Under [`BaseInfrastructure`](https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/tests/e2e/utils/infrastructure.py), we hide the complexity of deployment/delete coordination under `deploy`, `delete`, and `create_lambda_functions` methods. |
350 | 350 |
|
351 | 351 | 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.
|
352 | 352 |
|
@@ -392,7 +392,7 @@ classDiagram
|
392 | 392 | BaseInfrastructure <|-- EventHandlerStack : inherit
|
393 | 393 | ```
|
394 | 394 |
|
395 |
| -### Authoring an E2E test |
| 395 | +### Authoring a new feature E2E test |
396 | 396 |
|
397 | 397 | Imagine you're going to create E2E for Event Handler feature for the first time.
|
398 | 398 |
|
@@ -508,7 +508,7 @@ def test_alb_headers_serializer(alb_basic_listener_endpoint):
|
508 | 508 |
|
509 | 509 | #### Test runner parallelization
|
510 | 510 |
|
511 |
| -We parallelize our end-to-end tests to benefit from speed and isolate Lambda functions to ease assessing side effects (e.g., traces, logs, etc.). The following diagram demonstrates the process we take every time you use `make e2e`: |
| 511 | +We parallelize our end-to-end tests to benefit from speed and isolate Lambda functions to ease asserting side effects (e.g., traces, logs, etc.). The following diagram demonstrates the process we take every time you use `make e2e`: |
512 | 512 |
|
513 | 513 | ```mermaid
|
514 | 514 | graph TD
|
|
0 commit comments