pulumi / pulumi-dotnet

.NET support for Pulumi
Apache License 2.0
27 stars 25 forks source link

Allow the mocking of the host for provider tests #341

Closed Frassle closed 2 months ago

Frassle commented 2 months ago

Adds a BuildHost overload that takes the factory function for building the engine IHost object. This allows a test to mock out that object and we write a test demonstrating this assert that a log message was sent.