github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/plugin/resource_provider_test.go (about)

     1  package plugin
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestResourceProvider(t *testing.T) {
     8  	c := NewClient(&ClientConfig{Cmd: helperProcess("resource-provider")})
     9  	defer c.Kill()
    10  
    11  	_, err := c.Client()
    12  	if err != nil {
    13  		t.Fatalf("should not have error: %s", err)
    14  	}
    15  }