Skip to content

runnerdave/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/

About

sample of tests in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages