Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 522 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 522 Bytes

Unit Testing Pulumi programs in Go

An example of writing mock-based unit tests with both infrastructure definition and tests written in Go.

Prerequisites

Install Go.

Running the tests

  1. Run the tests:

    $ go test
    
    PASS
    ok  	testing-unit-go	0.400s
    

Further steps

Learn more about testing Pulumi programs: