Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gowhale/golang-test-driven-development
I wanted to get some hands on experience with golang whilst also consolidating my learning on TDD so I followed an article on Medium BUT I tried it with GO instead of PYTHON!
https://github.com/gowhale/golang-test-driven-development
fizz-buzz golang
Last synced: about 10 hours ago
JSON representation
I wanted to get some hands on experience with golang whilst also consolidating my learning on TDD so I followed an article on Medium BUT I tried it with GO instead of PYTHON!
- Host: GitHub
- URL: https://github.com/gowhale/golang-test-driven-development
- Owner: gowhale
- Created: 2020-08-23T18:38:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-23T20:18:28.000Z (about 4 years ago)
- Last Synced: 2024-04-17T17:12:04.516Z (7 months ago)
- Topics: fizz-buzz, golang
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golang-test-driven-development
## Introduction
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 run the tests for yourself
To be able to run the tests in this repo you will need to do the following:
1. clone this repo
1. cd into the this repo
1. run the command: "brew install go"
1. run the command: "go get github.com/stretchr/testify/assert" (this is equivilant to "pip install xyz")
1. Make sure you .gitconfig file is up to date for this
1. finally to run the tests run: "go test -v fizz_buzz.go fizz_buzz_test.go"
1. Tests will now run.