From 9cb9e9335d3d4af29c7337cf65dc6cf1df5bc673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Fri, 25 Oct 2019 11:50:14 +0200 Subject: [PATCH] Closes: #68 --- spec/test/Makefile | 2 +- spec/test/features/control/insert/error_malformed.feature | 1 + spec/test/features/control/insert/error_unprocessable.feature | 1 + spec/test/features/control/insert/list_order.feature | 1 + spec/test/features/control/insert/success.feature | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/test/Makefile b/spec/test/Makefile index c958083..571fcb8 100644 --- a/spec/test/Makefile +++ b/spec/test/Makefile @@ -9,7 +9,7 @@ lint: wip: KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --wip test: lint - pipenv run behave --no-capture + pipenv run behave --no-capture --tags=~@skip fix: lint KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --no-capture catalog: diff --git a/spec/test/features/control/insert/error_malformed.feature b/spec/test/features/control/insert/error_malformed.feature index d94ea10..22f9806 100644 --- a/spec/test/features/control/insert/error_malformed.feature +++ b/spec/test/features/control/insert/error_malformed.feature @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +@skip Feature: Kapow! server rejects insertion requests with malformed JSON bodies. Kapow! server will reject to insert a route when it receives a malformed JSON document in the diff --git a/spec/test/features/control/insert/error_unprocessable.feature b/spec/test/features/control/insert/error_unprocessable.feature index c986acc..07f2a19 100644 --- a/spec/test/features/control/insert/error_unprocessable.feature +++ b/spec/test/features/control/insert/error_unprocessable.feature @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +@skip Feature: Kapow! server rejects insertion requests with semantic errors. Kapow! server will refuse to insert routes when it receives a valid JSON but not conforming document. diff --git a/spec/test/features/control/insert/list_order.feature b/spec/test/features/control/insert/list_order.feature index 1925198..fef6e26 100644 --- a/spec/test/features/control/insert/list_order.feature +++ b/spec/test/features/control/insert/list_order.feature @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +@skip Feature: Consistent route ordering after inserting a route in a Kapow! server. When inserting routes the server will mantain the whole set of routes ordered and with consecutive indexes. diff --git a/spec/test/features/control/insert/success.feature b/spec/test/features/control/insert/success.feature index 23a8ad9..9264106 100644 --- a/spec/test/features/control/insert/success.feature +++ b/spec/test/features/control/insert/success.feature @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +@skip Feature: Insert new routes in Kapow! server. Inserting routes allows users to configure the server. New routes could be inserted at the beginning or before any