Skip to content

myugen/go-gildedrose-kata

Repository files navigation

Gilded Rose Refactoring Kata

This kata in Go language is an updated revision of the existing one in the Emily Bache's repository.

How to start this Kata

Just fork the repository and read the file with the specifications of the code.

🧾 Features

  • Go 1.18
  • Go Modules

⚙️ Usage

Running the application:

$ go run texttest_fixtures.go [<number-of-days>; default: 2]

🧪 Test

Running all tests:

$ go test ./...

Running specific tests:

$ go test <path to one file or directory> <path to another file or directory>

Running test coverage:

$ go test ./... -coverprofile=cover.out

$ go tool cover -html=cover.out

📦 Build

Building the application:

$ go build .

After that you can run the binary:

$ ./go-gildedrose [<number-of-days>; default: 2]

About

Gilded Rose Refactoring Kata in Go language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages