I wanted to get some hands on experience with golang whilst also consolidating my learning on TDD so I followed this article: https://medium.com/@elliotchance/lets-talk-about-tdd-baby-5ce11bd9b53b BUT I tried it with GO instead of PYTHON!
To be able to run the tests in this repo you will need to do the following:
- clone this repo
- cd into the this repo
- run the command: "brew install go"
- run the command: "go get github.com/stretchr/testify/assert" (this is equivilant to "pip install xyz")
- Make sure you .gitconfig file is up to date for this
- finally to run the tests run: "go test -v fizz_buzz.go fizz_buzz_test.go"
- Tests will now run.