.DEFAULT_GOAL := help

.PHONY: test
test: ## Run all Behat tests.
	./vendor/bin/behat

.PHONY: test-api
test-api: ## Run all tests related to APIs.
	./vendor/bin/behat --suite api

.PHONY: test-e2e
test-e2e: ## Run all tests related to E2E.
	./vendor/bin/behat --suite e2e

.PHONY: help
help: ## Show this help message.
	@echo "Usage:"
	@echo "  make <target>"
	@echo ""
	@echo "Targets:"
	@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9_-]+:.*?## / {printf "  \033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
