pulumi/cmd/pulumi-test-language
Bryce Lampe 8dd12256b4
[ci] Improve file diffing (#14786)
Fixes https://github.com/pulumi/pulumi/issues/13943

Example:
```
--- FAIL: TestLanguage (16.74s)
    language_test.go:42: build output:
    --- FAIL: TestLanguage/l2-resource-simple (0.01s)
        language_test.go:137: sdk snapshot validation for simple failed:
            expected file package.json does not match actual file:

            --- expected
            +++ actual
            @@ -8,8 +8,8 @@
                     "@pulumi/pulumi": "^3.42.0"
                 },
                 "devDependencies": {
            -        "@types/node": "^14",
                     "@types/google-protobuf": "^3.15.12",
            +        "@types/node": "^14",
                     "typescript": "^4.3.5"
                 },
                 "pulumi": {

        language_test.go:139: stdout:
        language_test.go:140: stderr:
        language_test.go:141:
            	Error Trace:	/Users/bryce/src/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/language_test.go:141
            	Error:      	Should be true
            	Test:       	TestLanguage/l2-resource-simple
```
2023-12-11 19:33:34 +00:00
..
testdata Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
README.md Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
bad_provider.go Send old inputs to Delete (#14051) 2023-10-13 14:12:26 +00:00
go.mod [ci] Improve file diffing (#14786) 2023-12-11 19:33:34 +00:00
go.sum [ci] Improve file diffing (#14786) 2023-12-11 19:33:34 +00:00
interface.go [ci] Improve file diffing (#14786) 2023-12-11 19:33:34 +00:00
interface_test.go Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
internal_test.go Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l1empty_test.go Pass root and main info to language host methods (#14654) 2023-12-10 17:30:51 +00:00
l2resourcesimple_test.go Pass root and main info to language host methods (#14654) 2023-12-10 17:30:51 +00:00
main.go Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
simple_provider.go Send old inputs to Delete (#14051) 2023-10-13 14:12:26 +00:00
testing.go Use mapset in pulumi-test-language (#14738) 2023-12-04 20:49:34 +00:00
tests.go Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00

README.md

pulumi-language-test runs a gRPC interface that language plugins can use to run a suite of standard tests.