Files
pancho horrillo ab50721f69 test(spec): Control Server API secured via cross-pinning mTLS
. We are now leveraging nix for portable dependency handling.
. There are now three types of tests: client, server and end-to-end.
. server tests exercise the actual kapow server being tested, while the
requests are performed using the test steps.
. client tests exercise the actual kapow client being tested, while the
requests are served using the test steps.
. e2e test exercise the actual kapow program in its dual role of client
and server (¡como tiene que ser!).

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2021-03-12 17:09:50 +01:00

21 lines
567 B
Makefile

.PHONY: all lint wip test fix catalog
all: checkbin test
lint:
gherkin-lint
wip:
KAPOW_DEBUG_TESTS=1 behave --stop --wip -k
test: lint
behave --no-capture --tags=~@skip
fix: lint
KAPOW_DEBUG_TESTS=1 behave --stop --no-capture --tags=~@skip
catalog:
behave --format steps.usage --dry-run --no-summary -q
checkbin:
@which kapow >/dev/null || (echo "ERROR: Your kapow binary is not present in PATH" && exit 1)
testpoc:
PATH=../../testutils/poc:$$PATH behave --no-capture --tags=~@skip
wippoc:
PATH=../../testutils/poc:$$PATH behave --no-capture --tags=@wip -k