Skip to content

Instantly share code, notes, and snippets.

@seanknox
Last active May 22, 2017 23:40
Show Gist options
  • Save seanknox/11621b255d18bcc9ef6eb357bd5fa7fc to your computer and use it in GitHub Desktop.
Save seanknox/11621b255d18bcc9ef6eb357bd5fa7fc to your computer and use it in GitHub Desktop.
test -z "$(gofmt -s -l `go list ./... | grep -v "github.com/Azure/acs-engine/vendor" | sed 's|github.com/Azure/acs-engine|.|g' | grep -v -w '^.$'` | tee /dev/stderr)"
 go test -cover -v `go list ./... | grep -v "github.com/Azure/acs-engine/vendor" | sed 's|github.com/Azure/acs-engine|.|g' | grep -v -w '^.$'`
?   	github.com/Azure/acs-engine/cmd	[no test files]
=== RUN   TestExpected
--- PASS: TestExpected (3.97s)
PASS
coverage: 58.7% of statements
ok  	github.com/Azure/acs-engine/pkg/acsengine	3.981s	coverage: 58.7% of statements
?   	github.com/Azure/acs-engine/pkg/api	[no test files]
?   	github.com/Azure/acs-engine/pkg/api/v20160330	[no test files]
?   	github.com/Azure/acs-engine/pkg/api/v20160930	[no test files]
?   	github.com/Azure/acs-engine/pkg/api/v20170131	[no test files]
=== RUN   Test_OrchestratorProfile_Validate
--- PASS: Test_OrchestratorProfile_Validate (0.00s)
=== RUN   Test_KubernetesConfig_Validate
--- PASS: Test_KubernetesConfig_Validate (0.00s)
=== RUN   Test_Properties_ValidateNetworkPolicy
--- PASS: Test_Properties_ValidateNetworkPolicy (0.00s)
PASS
coverage: 11.1% of statements
ok  	github.com/Azure/acs-engine/pkg/api/vlabs	0.011s	coverage: 11.1% of statements
=== RUN   Test_SplitBlobURI
--- PASS: Test_SplitBlobURI (0.00s)
PASS
coverage: 3.6% of statements
ok  	github.com/Azure/acs-engine/pkg/armhelpers	0.012s	coverage: 3.6% of statements
?   	github.com/Azure/acs-engine/pkg/operations	[no test files]
=== RUN   TestConfigParse
--- PASS: TestConfigParse (0.00s)
PASS
coverage: 3.9% of statements
ok  	github.com/Azure/acs-engine/test/acs-engine-test	0.012s	coverage: 3.9% of statements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment