Skip to content

Commit 13d379e

Browse files
Add links to testing guides (#632)
1 parent aefa9e5 commit 13d379e

File tree

7 files changed

+64
-0
lines changed

7 files changed

+64
-0
lines changed

testing-integration/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ $ go test
2222
PASS
2323
ok github.com/pulumi/examples/testing-integration 65.749s
2424
```
25+
26+
## Further steps
27+
28+
Learn more about testing Pulumi programs:
29+
30+
- [Testing Guide](https://www.pulumi.com/docs/guides/testing/)
31+
- [Integration Testing Guide](https://www.pulumi.com/docs/guides/testing/integration/)

testing-pac-ts/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ The tests will run while Pulumi deploys the code, right before the deployment of
5353
$ pulumi destroy --yes
5454
$ pulumi stack rm --yes
5555
```
56+
57+
## Further steps
58+
59+
Learn more about testing Pulumi programs:
60+
61+
- [Testing Guide](https://www.pulumi.com/docs/guides/testing/)
62+
- [Property Testing Guide](https://www.pulumi.com/docs/guides/testing/property-testing/)

testing-unit-cs/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ Total tests: 1
2525
Passed: 1
2626
Total time: 1.2167 Seconds
2727
```
28+
29+
## Further steps
30+
31+
Learn more about testing Pulumi programs:
32+
33+
- [Testing Guide](https://www.pulumi.com/docs/guides/testing/)
34+
- [Unit Testing Guide](https://www.pulumi.com/docs/guides/testing/unit/)

testing-unit-go/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ An example of writing mock-based unit tests with both infrastructure definition
1616
PASS
1717
ok testing-unit-go 0.400s
1818
```
19+
20+
## Further steps
21+
22+
Learn more about testing Pulumi programs:
23+
24+
- [Testing Guide](https://www.pulumi.com/docs/guides/testing/)
25+
- [Unit Testing Guide](https://www.pulumi.com/docs/guides/testing/unit/)

testing-unit-py/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ An example of writing mock-based unit tests with both infrastructure definition
2222
2323
OK
2424
```
25+
26+
## Further steps
27+
28+
Learn more about testing Pulumi programs:
29+
30+
- [Testing Guide](https://www.pulumi.com/docs/guides/testing/)
31+
- [Unit Testing Guide](https://www.pulumi.com/docs/guides/testing/unit/)

testing-unit-ts/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,10 @@ An example of writing mock-based unit tests with both infrastructure definition
2929
3030
3 passing (420ms)
3131
```
32+
33+
## Further steps
34+
35+
Learn more about testing Pulumi programs:
36+
37+
- [Testing Guide](https://www.pulumi.com/docs/guides/testing/)
38+
- [Unit Testing Guide](https://www.pulumi.com/docs/guides/testing/unit/)

testing-unit-ts/tsconfig.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"compilerOptions": {
3+
"strict": true,
4+
"outDir": "bin",
5+
"target": "es2016",
6+
"module": "commonjs",
7+
"moduleResolution": "node",
8+
"declaration": true,
9+
"sourceMap": false,
10+
"stripInternal": true,
11+
"experimentalDecorators": true,
12+
"pretty": true,
13+
"noFallthroughCasesInSwitch": true,
14+
"noImplicitReturns": true,
15+
"forceConsistentCasingInFileNames": true
16+
},
17+
"files": [
18+
"index.ts",
19+
"ec2tests.ts"
20+
]
21+
}
22+

0 commit comments

Comments
 (0)