From 9ce81d7ab7131c25219ca0bd1c09e2d1de8a930e Mon Sep 17 00:00:00 2001 From: Manni Wood Date: Sun, 21 Aug 2016 14:22:32 -0400 Subject: [PATCH] Updates test instructions in README Lets the user know about extra packages that need to be installed for the tests to run, and that connection_settings_test.go.example has been renamed to conn_config_test.go.example. --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 607b38cd..ea404819 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,13 @@ skip tests for connection types that are not configured. ### Normal Test Environment -To setup the normal test environment run the following SQL: +To setup the normal test environment, first install these dependencies: + + go get github.com/jackc/fake + go get github.com/shopspring/decimal + go get gopkg.in/inconshreveable/log15.v2 + +Then run the following SQL: create user pgx_md5 password 'secret'; create database pgx_test; @@ -66,7 +72,7 @@ Connect to database pgx_test and run: create extension hstore; -Next open connection_settings_test.go.example and make a copy without the +Next open conn_config_test.go.example and make a copy without the .example. If your PostgreSQL server is accepting connections on 127.0.0.1, then you are done.