tests

command
v0.0.0-...-9917ce2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2017 License: MIT Imports: 10 Imported by: 0

README

tests/

This directory contains end-to-end tests of the backend code. As such, it requires a running postgresql server. To set up a postgresql server, install the appropriate package, and then run

$ initdb <path/to/db>

to complete the setup.

Edit the postgresql.conf file in the db root, and change unix_socket_directories to somewhere your user can access (eg /run/user//). Finally, run

$ pg_ctl -D <path/to/db> start
$ create_db -h <path/to/new/unix/socket/dir> backend-test

to start the server and create a new database for testing with.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL