Hello! Is it possible to write unit tests to valid...
# general
g
Hello! Is it possible to write unit tests to validate that IgnoreChanges is working correctly?
b
Hi Morten - side question - how do you test Pulumi code anyways? I never got it to work. I tested individual Lambda functions & their code of course, but I could never figure out how to test Pulumi stuff & if those tests even have any value?
g
@billowy-plastic-61471 we do this, pretty much straight from the docs: https://www.pulumi.com/docs/guides/testing/unit/ We’ve got some libraries that define component resources, and we do assertions on the output from those
b
I’ll revisit this, it’s been a while. So the main advantage is to have regression tests I guess…
To make sure nobody changes any of the existing resources in an unwanted way