Add a fix target to ease the development
This commit is contained in:
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
wip:
|
wip:
|
||||||
pipenv run behave --stop --wip
|
KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --wip
|
||||||
test:
|
test:
|
||||||
gherkin-lint
|
gherkin-lint
|
||||||
pipenv run behave --no-capture
|
pipenv run behave --no-capture
|
||||||
|
fix:
|
||||||
|
gherkin-lint
|
||||||
|
KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --no-capture
|
||||||
catalog:
|
catalog:
|
||||||
pipenv run behave --steps-catalog
|
pipenv run behave --steps-catalog
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class Env(EnvironConfig):
|
|||||||
|
|
||||||
KAPOW_BOOT_TIMEOUT = IntVar(default=10)
|
KAPOW_BOOT_TIMEOUT = IntVar(default=10)
|
||||||
|
|
||||||
KAPOW_DEBUG_TESTS = BooleanVar(default=True)
|
KAPOW_DEBUG_TESTS = BooleanVar(default=False)
|
||||||
|
|
||||||
|
|
||||||
if Env.KAPOW_DEBUG_TESTS:
|
if Env.KAPOW_DEBUG_TESTS:
|
||||||
|
|||||||
Reference in New Issue
Block a user