pulumi/sdk
bors[bot] 7ef1005b86
Merge #12424
12424: sdk/common: Add testing/diagtest package r=abhinav a=abhinav

Adds a testing/diagtest package similar to
the previously added iotest package (#12377)
which writes log messages to a testing.TB's log stream.

This makes tests less noisy and helps associate error messages
with the exact test cases they came from.

diagtest, unlike iotest, prefixes each message with stdout or stderr.
To reuse iotest.LogWriter for this, we add support to iotest.LogWriter
to specify an optional prefix string.

This also updates all tests that use cmdutil.Diag directly
(because these write to the test process' stdout/stderr)
and instead use diagtest.Sink to have them write
to the test's logger.


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-03-13 20:56:43 +00:00
..
go Merge #12424 2023-03-13 20:56:43 +00:00
nodejs Add converter plugin 2023-03-09 22:16:21 +00:00
proto/go Add converter plugin 2023-03-09 22:16:21 +00:00
python Add converter plugin 2023-03-09 22:16:21 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod Bump go-git to v5.6.0 to remove cgo dependency fixing 2023-02-28 16:01:31 -08:00
go.sum Bump go-git to v5.6.0 to remove cgo dependency fixing 2023-02-28 16:01:31 -08:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.