An example of writing mock-based unit tests with both infrastructure definition and tests written in Go.
-
Run the tests:
$ go test PASS ok testing-unit-go 0.400s
Learn more about testing Pulumi programs:
An example of writing mock-based unit tests with both infrastructure definition and tests written in Go.
Run the tests:
$ go test
PASS
ok testing-unit-go 0.400s
Learn more about testing Pulumi programs: