Skip to content

Test: Set previews #2300

@t0yv0

Description

@t0yv0

Looking for a test suite asserting on how pulumi CLI renders detailed previews for bridged providers planning diffs involving Sets and especially sets of objects. All the state transitions need to be covered:

  • add 1 element
  • remove 1 element
  • edit 1 element in place

It is necessary to test unknowns at collection and element level.

Since 1-elem diff may be special need to cover 2-element transitions also.

The reasoning behind the suggestion to cover at integration level with pulumi is that there is residual uncertainty in the protocol around detailedDiff paths returned from the Diff method and whether they resolve accurately against the data structure we expect. Testing at the protocol level it is very easy to miss issues with the unexpected values actually rendered to the user.

Metadata

Metadata

Labels

kind/taskWork that's part of an ongoing epicresolution/fixedThis issue was fixed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions