Files
kapow/spec/test/Makefile
Roberto Abdelkader Martínez Pérez 310d319ea3 test: Update kapow env vars to the new ones.
Co-authored-by: César Gallego <cesar.gallego.next@bbva.com>
2020-11-17 17:10:05 +01:00

24 lines
734 B
Makefile

.PHONY: lint wip test fix catalog sync
all: checkbin sync test
sync:
pipenv sync
lint:
gherkin-lint
wip:
KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --wip
test: lint
pipenv run behave --no-capture --tags=~@skip
fix: lint
KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --no-capture --tags=~@skip
catalog:
pipenv run behave --format steps.usage --dry-run --no-summary -q
clean:
pipenv --rm
checkbin:
@which kapow >/dev/null || (echo "ERROR: Your kapow binary is not present in PATH" && exit 1)
testpoc: sync
pipenv run pip install -r ../../testutils/poc/requirements.txt
PATH=../../testutils/poc:$$PATH KAPOW_CONTROL_URL=http://localhost:8081 KAPOW_DATA_URL=http://localhost:8081 pipenv run behave --no-capture --tags=~@skip