Skip to content
Mario Gutierrez edited this page Jun 21, 2015 · 1 revision

Pre-requisites

# install godo task runner
go get -u gopkg.in/godo.v2/cmd/godo

# install dependencies
cd Gododir
go get -a

# back to project
cd ..

running test tasks

# (re)create database
godo createdb

# run tests with traced SQL (optional)
LOGXI=dat* godo test

# run tests without logs
godo test

# run benchmarks
godo bench

# see other tasks
godo

When createdb prompts for superuser, enter superuser like 'postgres' to create the test database. On Mac + Postgress.app use your own user name and password.

Clone this wiki locally