Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 404 Bytes

run-tests.md

File metadata and controls

20 lines (13 loc) · 404 Bytes

Running tests

Prerequisites

Before you can run tests, you must setup the development environment.

Running the Go test suite

Set the following environment variables to tell the test suite where your test database is:

export SQEDULE_DB_TYPE=postgresql
export SQEDULE_DB_CONNECTION="dbname=sqedule_test"

Then run:

go test ./...