Commit Graph

59 Commits

Author SHA1 Message Date
Héctor Hurtado
513f12e2e4 Rewritten data/request and data/response features. Bigger size for scenarios and steps in gherkin-lint 2019-08-29 14:44:45 +02:00
Héctor Hurtado
48ab14d49d Modified some steps in data/handler features and added data/handler/error_itemnotfound feature 2019-08-29 14:14:04 +02:00
Héctor Hurtado
c8e4019dc6 Modify Gherkin-lint example indentation value. Added features for data/request/success and data/response/success 2019-08-27 12:02:45 +02:00
Héctor Hurtado
91c1966699 Fix typos 2019-08-27 10:11:00 +02:00
Héctor Hurtado
074880873d Added @wip tag to features and fix name length issues 2019-08-27 10:00:29 +02:00
Héctor Hurtado
6bb8f974fb Added features for data/handler/error_invalidresource, data/handler/error_notfound and data/handler/success 2019-08-27 09:44:37 +02:00
Roberto Abdelkader Martínez Pérez
df31992c1b Typo 2019-08-23 15:19:12 +02:00
Roberto Abdelkader Martínez Pérez
6b0ff05010 Implement get route details. Closes #12 2019-08-23 15:18:54 +02:00
Héctor Hurtado
b38023a033 Changed specification to rise an error when inserting with a negative index. Added new scenario to check this condition 2019-08-23 13:18:12 +02:00
Héctor Hurtado
d564ff9206 New route added for 'Control API' for retrieving route info 2019-08-23 13:11:05 +02:00
Roberto Abdelkader Martínez Pérez
fc760205ea Spelling errors 2019-08-23 12:56:09 +02:00
Roberto Abdelkader Martínez Pérez
3649db92b0 Fail if one lists differ in size 2019-08-23 12:51:35 +02:00
Roberto Abdelkader Martínez Pérez
4db8814a69 Scenario fix 2019-08-23 12:48:44 +02:00
Roberto Abdelkader Martínez Pérez
991ae618bb Review feature and scenario definitions. Removing unnecesary and redundant steps. 2019-08-23 12:46:10 +02:00
Roberto Abdelkader Martínez Pérez
8752f419b5 Implementing 204 on delete and removing unnecessary steps 2019-08-23 12:01:51 +02:00
Roberto Abdelkader Martínez Pérez
93a3562c04 Empty response body step is too restrictive 2019-08-23 11:53:14 +02:00
Roberto Abdelkader Martínez Pérez
90c0c6ddb7 Append and Insert should return 201 on success. Delete should return 204 on success with no content. 2019-08-23 11:48:52 +02:00
Roberto Abdelkader Martínez Pérez
80dc654115 Minor fixes to steps and compliant poc control API 2019-08-22 09:27:53 +02:00
Roberto Abdelkader Martínez Pérez
93a89acbce Add a fix target to ease the development 2019-08-21 13:18:46 +02:00
Héctor Hurtado
6261f5aa59 Changed delete/success feature to remove id references 2019-08-21 13:17:10 +02:00
Héctor Hurtado
308ba58479 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged to master
2019-08-21 13:08:27 +02:00
Roberto Abdelkader Martínez Pérez
e8c98bcfeb Remove unwanted tag 2019-08-21 13:07:44 +02:00
Héctor Hurtado
64998360f9 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged to master
2019-08-21 13:07:04 +02:00
Héctor Hurtado
7e687daf23 Replaced id wildcard value for ANY 2019-08-21 13:06:56 +02:00
Roberto Abdelkader Martínez Pérez
2ec064a933 Allow special marker ANY inside JSON examples 2019-08-21 13:01:56 +02:00
Roberto Abdelkader Martínez Pérez
c96584efcc Return route information on insert & append 2019-08-21 12:20:11 +02:00
Roberto Abdelkader Martínez Pérez
8040cb5b3b Removing "entity" from steps 2019-08-21 12:00:56 +02:00
Roberto Abdelkader Martínez Pérez
f840de2b59 Use text instead of table for raw JSON passing 2019-08-21 11:58:09 +02:00
Roberto Abdelkader Martínez Pérez
c3e26b0e8f Remove old spec behavior 2019-08-21 11:57:14 +02:00
Roberto Abdelkader Martínez Pérez
956bb2a2a3 Missing steps 2019-08-21 11:29:16 +02:00
Roberto Abdelkader Martínez Pérez
e1590df418 Using "response reason phrase" instead of "response phrase" in step 2019-08-21 11:28:16 +02:00
Roberto Abdelkader Martínez Pérez
1540f6d3a7 Implement step to insert route. 2019-08-21 11:23:25 +02:00
Roberto Abdelkader Martínez Pérez
e9b46921b8 Missing word in step 2019-08-21 11:23:25 +02:00
Héctor Hurtado
aa4cd84e79 Merged 2019-08-21 11:07:23 +02:00
Héctor Hurtado
450bb48953 Replaced gherkin tables by json documents in requests and responses of insert features 2019-08-21 11:03:29 +02:00
Héctor Hurtado
d7813f6487 Replaced gherkin tables by json documents in requests and responses of list features. Fix typos in delete/list_order feature 2019-08-21 10:16:03 +02:00
Héctor Hurtado
fe9534fe51 Replaced gherkin tables by json documents in requests and responses of delete features 2019-08-21 10:07:08 +02:00
Héctor Hurtado
1dac4d41c8 Replaced gherkin tables by json documents in requests and responses of append features 2019-08-21 09:43:48 +02:00
Roberto Abdelkader Martínez Pérez
7d83432500 Factorized run_kapow_server function to allow reuse. 2019-08-21 09:11:10 +02:00
Roberto Abdelkader Martínez Pérez
7a93c16dec Implement JSON validation in append. 2019-08-21 08:52:13 +02:00
Roberto Abdelkader Martínez Pérez
f6014ab403 Step alias for JSON document. 2019-08-21 08:38:13 +02:00
Roberto Abdelkader Martínez Pérez
0cfc55c175 Helper function to compare nested structures in tests. 2019-08-21 08:23:20 +02:00
Roberto Abdelkader Martínez Pérez
be49120511 Missing step. 2019-08-20 11:10:40 +02:00
Roberto Abdelkader Martínez Pérez
226ac5b90a Reason phrase instead of phrase. 2019-08-20 11:09:05 +02:00
Roberto Abdelkader Martínez Pérez
c07638601b Implementing poc spec behavior in append route. 2019-08-20 10:59:39 +02:00
Héctor Hurtado
b86454179a Fixed some formating and naming issues 2019-08-20 10:51:24 +02:00
Héctor Hurtado
2b31b2b9f0 Added features for append/error_malformed, delete/list_order, insert/error_malformed and insert/list_order. Updated append/error_unprocessable and resolve conflicts in list/success. 2019-08-20 10:36:24 +02:00
Héctor Hurtado
380eed57d9 Added features for append/error_malformed, delete/list_order, insert/error_malformed and insert/list_order. Updated append/error_unprocessable and list/success. 2019-08-20 10:31:14 +02:00
Roberto Abdelkader Martínez Pérez
0a93135b4e Check for reachable API in initial step. 2019-08-20 10:29:58 +02:00
Roberto Abdelkader Martínez Pérez
6368532717 Parametrize step 2019-08-20 09:59:38 +02:00