pulumi/sdk/dotnet/Pulumi.Tests
Pat Gavlin 683b4de2f0
Add .NET resource ref unit tests. (#6104)
- Add tests that serialize custom and component resources for targets
  that support resource references
- Add tests that serialize custom and component resources for downlevel
  targets
- Add tests that deserialize known custom and component resources
- Add tests that deserialize missing custom and component resources

These changes also fix a few bugs that were encountered during testing:
- Component resource construction was not supported
- Resources with missing packages could not be deserialized

In the latter case, a missing resource is deserialized as a generic
DependencyResource.

These changes also update the signature of IMocks.NewResourceAsync to
allow the returned ID to be null. This is technically a C# breaking change
with respect to nullability.

Contributes to #5943.

Co-authored-by: Mikhail Shilkov <github@mikhail.io>
2021-01-14 12:24:41 -08:00
..
Core [dotnet] Unsecret and IsSecret implementation for .NET (#6092) 2021-01-12 14:54:08 +00:00
Mocks Add .NET resource ref unit tests. (#6104) 2021-01-14 12:24:41 -08:00
Serialization Add .NET resource ref unit tests. (#6104) 2021-01-14 12:24:41 -08:00
AssemblyAttributes.cs Add **preview** .NET Core support for pulumi. (#3399) 2019-10-25 16:59:50 -07:00
AssertEx.cs fix dotnet error (#4668) 2020-05-19 12:06:24 -07:00
Pulumi.Tests.csproj Bump Grpc NuGet packages to 2.34.0 (#5862) 2020-12-04 16:58:18 +01:00
PulumiTest.cs Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
StackTests.cs Support remote components in .NET (#5485) 2020-10-06 10:19:22 -07:00
xunit.runner.json .NET: Disable parallel xUnit tests (#4547) 2020-05-01 11:42:32 -07:00