tests

module
v0.0.0-...-3d1e88e Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: Apache-2.0

README

Message DB Client Integration Tests

Clients tests are moved into a separate module to avoid consumers having to import test dependencies.

Running tests

The client tests require an instance of Message DB running to test against.

# Start Message DB
docker build -t message-db .
docker run -d --rm \
    -p 5432:5432 \
    -e POSTGRES_HOST_AUTH_METHOD=trust \
    message-db \
    -c message_store.sql_condition=on

# Run tests
go test -condition-on

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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