From 074880873d0057bbbe7b8ee1e1e7b0058591ee9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Tue, 27 Aug 2019 10:00:29 +0200 Subject: [PATCH] Added @wip tag to features and fix name length issues --- .../features/data/handler/error_invalidresource.feature | 2 +- spec/test/features/data/handler/error_notfound.feature | 7 +++---- spec/test/features/data/handler/success.feature | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/spec/test/features/data/handler/error_invalidresource.feature b/spec/test/features/data/handler/error_invalidresource.feature index 82553c1..bb8d4f5 100644 --- a/spec/test/features/data/handler/error_invalidresource.feature +++ b/spec/test/features/data/handler/error_invalidresource.feature @@ -1,8 +1,8 @@ +@wip Feature: Fail to retrieve an invalid resource for a handler in Kapow! server. If trying to access an invalid resource for a handler then the server responds with an error. - @wip Scenario: Try to get invented/path from a existent handler. A request for retrieving an invalid resource for an existent handler will trigger a invalid resource error. diff --git a/spec/test/features/data/handler/error_notfound.feature b/spec/test/features/data/handler/error_notfound.feature index 443a794..87e5992 100644 --- a/spec/test/features/data/handler/error_notfound.feature +++ b/spec/test/features/data/handler/error_notfound.feature @@ -1,8 +1,8 @@ +@wip Feature: Fail to retrieve resources from nonexistent handler in Kapow! server. If trying to access a nonexistent handler then the server responds with a noptfound error. - @wip Scenario: Try to get a valid resource from a nonexistent handler. A request for retrieving a resource from a nonexistent handler will trigger a not found error. @@ -10,11 +10,10 @@ Feature: Fail to retrieve resources from nonexistent handler in Kapow! server. Given I have a Kapow! server with the following routes: | method | url_pattern | entrypoint | command | | GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | - When I the get the resource "request/path" for the handler with id HANDLER_ID_XXXXXXXXXX + When I get the resource "request/path" for the handler with id XXXXXXXXXX Then I get 404 as response code And I get "Not Found" as response reason phrase - @wip Scenario: Fail to get an invalid resource from a nonexistent handler. A request for retrieving a resource from a nonexistent handler will trigger a not found error even if the @@ -23,6 +22,6 @@ Feature: Fail to retrieve resources from nonexistent handler in Kapow! server. Given I have a Kapow! server with the following routes: | method | url_pattern | entrypoint | command | | GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | - When I the get the resource "invented/path" for the handler with id HANDLER_ID_XXXXXXXXXX + When I get the resource "invented/path" for the handler with id XXXXXXXXXX Then I get 404 as response code And I get "Not Found" as response reason phrase diff --git a/spec/test/features/data/handler/success.feature b/spec/test/features/data/handler/success.feature index 1d933a3..4d9c193 100644 --- a/spec/test/features/data/handler/success.feature +++ b/spec/test/features/data/handler/success.feature @@ -1,9 +1,9 @@ +@wip Feature: Retrieve a resource from a handler in Kapow! server. Users can retrieve request handler resources from the server by specifying the handler id and the resource path. - @wip Scenario: Retrieve a resource for the current request. Get the "request/path" resource for the current request through the handler id.