Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 731 Bytes

development.md

File metadata and controls

62 lines (45 loc) · 731 Bytes

gourd development

Setup

Install git, go, ruby

Install cucumber:

gem install cucumber
gem install rspec

Clone gourd into your GOPATH:

mkdir -p $GOPATH/src/github.com/raphaelmeyer/
cd $GOPATH/src/github.com/raphaelmeyer/

git clone https://github.com/raphaelmeyer/gourd.git

Get the dependencies:

cd $GOPATH/src/github.com/raphaelmeyer/gourd

go get -t ./...

Test:

cd $GOPATH/src/github.com/raphaelmeyer/gourd

go test

Development

BDD cycle

Run acceptance tests:

go run features/wire_server.go
cucumber -p done

See work in progress:

go run features/wire_server.go
cucumber -p wip

TDD cycle

Run unit tests:

go test

Format code:

go fmt ./...