github.com/dstroot/fizzbuzz

fizzbuzz in go, using goconvey to test


Install
go get github.com/dstroot/fizzbuzz

Documentation

Fizzbuzz - Version 0.0.1

This program is designed as a very simple way to teach test driven development using goconvey. It also shows testable examples and benchmarking your code. It uses the ever popular fizzbuzz example.

Testing

$ go test
$ go test -bench=.
$ go test -cover

Compiling

$ go build fizzbuzz.go

(Will produce an executable fizzbuzz)

Running

$ ./fizzbuzz