Is it possible to do local testing with Pulumi?
# general
a
Is it possible to do local testing with Pulumi?
đź‘Ť 1
c
@acoustic-candle-40090 by “local testing” do you mean unit tests?
a
That. But also just running my code even.
c
@acoustic-candle-40090 well Pulumi uses “real languages” do you can write whatever unit tests you want. I’m not sure what you have in mind for “running my code” —
preview
will provide an accurate plan of the resources to be created, but any code inside an
.apply
will not be run until you run the actual application.
So, if you keep code that’s super complex out of
.apply
a
pulumi preview
should mooostly hit all the stuff you care about.