mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
21 lines
253 B
Markdown
21 lines
253 B
Markdown
# GO Starter
|
|
|
|
- Run :
|
|
|
|
```shell
|
|
go run texttest_fixture.go [<number-of-days>; default: 2]
|
|
```
|
|
|
|
- Run tests :
|
|
|
|
```shell
|
|
go test ./...
|
|
```
|
|
|
|
- Run tests and coverage :
|
|
|
|
```shell
|
|
go test ./... -coverprofile=coverage.out
|
|
|
|
go tool cover -html=coverage.out
|
|
``` |