board-backend

module
v0.0.0-...-5fdd26c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: GPL-3.0

README

Setting up tests

Most of the unit tests can be ran without any external configuration, anyway the integration tests will require database setted up from sql/create_tables.sql and config which is not included in source files.

The config should be located in config/configuration.test.local.json and look like this:

{
    "postgres_config": {
        "host": "localhost",
        "port": 5438,
        "user": "",
        "password": "",
        "db_name": "test_ukrainian_brothers"
    }
}

Directories

Path Synopsis
app
cmd
internal
pkg

Jump to

Keyboard shortcuts

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