Files
beelzebub/Makefile
Mario Candela 8337281f21 test: add rabbitMQ integration test (#29)
* added integration test dependencies

* added rabbitMQ use case integration test

* configured rabbitMQ integration test URI

* fix typo, configured integration test pipeline
2023-03-21 11:20:12 +01:00

30 lines
578 B
Makefile

DOCKER_COMPOSE := $(shell which docker-compose)
ifeq (${DOCKER_COMPOSE},)
DOCKER_COMPOSE = docker compose
endif
beelzebub.start:
${DOCKER_COMPOSE} build;
${DOCKER_COMPOSE} up -d;
beelzebub.stop:
${DOCKER_COMPOSE} down;
test.unit:
go test ./...
test.unit.verbose:
go test ./... -v
test.dependencies.start:
${DOCKER_COMPOSE} -f ./integration_test/docker-compose.yml up -d
test.dependencies.down:
${DOCKER_COMPOSE} -f ./integration_test/docker-compose.yml down
test.integration:
INTEGRATION=1 go test ./...
test.integration.verbose:
INTEGRATION=1 go test ./... -v