Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 476 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 476 Bytes

GO TDD Starter

Simple starter for getting started with TDD in Go.

The file calculator/calculator_test.go contains one test case and a few in comments. Start by coming up with a few test cases and add them to the lists, then implement them one at a time, test-driving the solution forwards.

Libraries

  • github.com/stretchr/testify for the assert package

Running

There is a Makefile with some standard targets, run

$ make test

to run all the tests