-
Notifications
You must be signed in to change notification settings - Fork 62
Testing
Mario Gutierrez edited this page Jun 21, 2015
·
1 revision
# install godo task runner
go get -u gopkg.in/godo.v2/cmd/godo
# install dependencies
cd Gododir
go get -a
# back to project
cd ..
# (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.