Skip to content

Latest commit

 

History

History
 
 

testing-unit-go

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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: