From 93a89acbce211ffabea0f3027326951296140987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Wed, 21 Aug 2019 13:18:43 +0200 Subject: [PATCH] Add a fix target to ease the development --- spec/test/Makefile | 5 ++++- spec/test/features/steps/steps.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/spec/test/Makefile b/spec/test/Makefile index f90954f..a8531cc 100644 --- a/spec/test/Makefile +++ b/spec/test/Makefile @@ -1,7 +1,10 @@ wip: - pipenv run behave --stop --wip + KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --wip test: gherkin-lint pipenv run behave --no-capture +fix: + gherkin-lint + KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --no-capture catalog: pipenv run behave --steps-catalog diff --git a/spec/test/features/steps/steps.py b/spec/test/features/steps/steps.py index c6e87c6..d0e3d38 100644 --- a/spec/test/features/steps/steps.py +++ b/spec/test/features/steps/steps.py @@ -24,7 +24,7 @@ class Env(EnvironConfig): KAPOW_BOOT_TIMEOUT = IntVar(default=10) - KAPOW_DEBUG_TESTS = BooleanVar(default=True) + KAPOW_DEBUG_TESTS = BooleanVar(default=False) if Env.KAPOW_DEBUG_TESTS: