Skip to content

golangcyberdude/testEndpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testEndpoint

This is a demonstration of how to conditionally test live endpoint services within go test

=->export TESTENDPOINT=true

=->go test --run TestExample --debug
Found environment variable TESTENDPOINT, setting *testEndpoint = true
running with debug mode [true]
running with test-endpoint mode [true]
in TestExample
PASS
ok      testEndpoint    0.007s

About

This is a demonstration of how to conditionally test live endpoint services within go test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages