@kensio/yulin-aws-simulation 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/plugin.schema.json",
|
|
3
3
|
"name": "yulin-aws-simulation",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.17.0",
|
|
5
5
|
"description": "How to test AWS code well with the @kensio/yulin in-process simulator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Kensio Software",
|
package/package.json
CHANGED
|
@@ -3,17 +3,23 @@ name: yulin-aws-simulation
|
|
|
3
3
|
description: Use the @kensio/yulin in-process AWS simulator well when testing AWS code, using it directly rather than building a harness around it, driving tests, local dev and production from one synthesized CDK template, deploying a whole cdk.out cloud assembly, intercepting SDK clients with SimSdk, driving HTTP requests into the simulation with SimAwsHttp, controlling simulated time, matching service errors by name, and handling properties Yulin refuses to simulate. Use when writing or reviewing tests that touch AWS, when replacing aws-sdk-client-mock or hand-rolled AWS stubs, when a CDK stack needs testing, when a CloudFront Distribution, its DNS records or its certificate need testing, when test setup around Yulin is growing helper classes or wrapper functions, and when Yulin refuses a template property or an SDK command.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
|
-
version: "1.
|
|
6
|
+
version: "1.17.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Testing with Yulin
|
|
10
10
|
|
|
11
11
|
[Yulin](https://yulinsim.dev/) (`@kensio/yulin`) simulates AWS in process, in memory, with no
|
|
12
|
-
network and no AWS account. This skill is how to use it well.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
network and no AWS account. This skill is how to use it well. It serves `isolated-testing-style`,
|
|
13
|
+
the general argument for simulation over stubs. Each rule says what it buys, and a case that does
|
|
14
|
+
not want that trade can go the other way knowingly.
|
|
15
|
+
|
|
16
|
+
For the API read `node_modules/@kensio/yulin/llms.txt`. It indexes the 45 markdown pages beside it
|
|
17
|
+
under `node_modules/@kensio/yulin/docs/`, one per simulated service and per feature guide,
|
|
18
|
+
documenting the version installed. Open the page it names for the service in hand and grep it for
|
|
19
|
+
the operation or property, since Cognito runs to 210 KB with DynamoDB and Lambda close behind. Where
|
|
20
|
+
the package is absent, or predates the 1.20.x that started carrying it,
|
|
21
|
+
[yulinsim.dev/llms.txt](https://yulinsim.dev/llms.txt) has the same index for the current release
|
|
22
|
+
(drop the `llms.txt` for HTML).
|
|
17
23
|
|
|
18
24
|
## Use what Yulin already gives you
|
|
19
25
|
|