Skip to content

momenton/go-testing-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Testing example in Go

Simple repo to demonstrate how testing works in Go projects

running the app

$ go run src/app/main.go

executing tests

$ go test -v ./...

with coverage

$ go test -v -cover ./...

Further references:

https://blog.alexellis.io/golang-writing-unit-tests/

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%