pulumi/cmd/pulumi-test-language/providers
Zaid Ajaj 06e18a01da
Preview conformance tests (#18295)
### Description 

This PR adds a preview step to every conformance test with the ability
to assert certain aspects of the resource changes and the generated plan
via an `AssertPreview` function. When the tests do not specify an
`AssertPreview` function, we give a default implementation that simply
checks whether the preview is successful.

The PR makes slight changes to a couple conformance provider
implementations such that they don't hard fail when encountering unknown
values (during preview)

Fixes #18296

---------

Co-authored-by: Will Jones <will@sacharissa.co.uk>
2025-01-23 17:14:53 +00:00
..
alpha_provider.go Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00
asset_archive_provider.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
bad_provider.go Parse conformance programs to decide which packages are needed for SDKs (#16872) 2024-08-05 12:07:06 +00:00
component_provider.go Add the `l2-component-call-simple` conformance test (#18207) 2025-01-13 16:41:39 +00:00
config_grpc_provider.go Language conformance for gRPC Check/Configure with schema-based secrets (#17634) 2024-10-31 14:27:17 +00:00
config_provider.go Fix l2-resource-config to test name and pluginDownloadURL correctly (#16846) 2024-07-30 22:28:09 +00:00
custom_server.go Cover configure (#17508) 2024-10-11 02:23:59 +00:00
fail_on_create_provider.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
grpc_capture_server.go Cover configure (#17508) 2024-10-11 02:23:59 +00:00
large_provider.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
parameterized_provider.go Add l2-explicit-parameterized-provider test (#17973) 2024-12-10 23:30:08 +00:00
plain_provider.go Add a conformance test for preserving map keys (#17350) 2024-10-11 13:34:46 +00:00
primitive_provider.go Add a test of sending primitive values for a resource (#16718) 2024-07-22 21:13:11 +00:00
primitive_ref_provider.go Add l2-primitive-ref conformance test (#17302) 2024-09-24 08:42:24 +00:00
ref_ref_provider.go Add ref-ref conformance test (#17367) 2024-09-26 22:00:55 +00:00
secret_provider.go Add l2-resource-secret to conformance tests (#17812) 2024-11-20 17:47:01 +00:00
simple_invoke_provider.go Preview conformance tests (#18295) 2025-01-23 17:14:53 +00:00
simple_provider.go Preview conformance tests (#18295) 2025-01-23 17:14:53 +00:00