-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand test stack with service providers to allow output testing #102
Labels
kind/enhancement
Improvements or new features
Comments
dpwdec
added
kind/enhancement
Improvements or new features
needs-triage
Needs attention from the triage team
labels
Feb 3, 2023
I've raised a PR #101 with the change I think needs to happen to facilitate this but I may need some review support as I don't know if this constitutes a change requiring change log updates. |
Removed triage label as the author has opened a PR to fix this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Issue details
There are currently overload test functions defined that allow you to test the outputs of a mock pulumi stack during unit testing, however there is no support for this of stack output testing when using a service provider.
The
TestWithServiceProviderAsync
doesn't offer any overloads that expose the outputs from a stack. Link here.But there are examples of the
TestAsync
function that do exactly this. Link here.Ideally the
TestWithServiceProviderAsync
function would have an expanded overload to support a return type withTask<(ImmutableArray<Resource> Resources, IDictionary<string, object?> Outputs)
Affected area/feature
dotnet SDK testing
The text was updated successfully, but these errors were encountered: