lc-integration-testing

module
v0.0.0-...-8d217c2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT

README

lc-integration-testing

Integration tests for limpidchart services.

To run tests locally you must start services. You can start develop or stable release using docker compose.

Do the following to start the develop release:

docker compose --file compose/develop/docker-compose.yml pull
docker compose --file compose/develop/docker-compose.yml up -d

Do the following to start the stable release:

docker compose --file compose/stable/docker-compose.yml pull
docker compose --file compose/stable/docker-compose.yml up -d

Then you can run the tests:

go test -v ./internal/integration/...

Don't forget to clean up after running tests:

docker compose --file compose/develop/docker-compose.yml down --remove-orphans
docker compose --file compose/stable/docker-compose.yml down --remove-orphans

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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