Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 306 Bytes

readme.md

File metadata and controls

20 lines (16 loc) · 306 Bytes

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/