Commit Graph

98 Commits

Author SHA1 Message Date
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
0e257b92dd Makefile reorder 2019-08-22 09:30:24 +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
126beca86e More appropiate defaults for testing targets. 2019-08-21 09:10:42 +02:00
Roberto Abdelkader Martínez Pérez
6257db82dd Add wip target to test wip marked scenarios. 2019-08-21 08:56:24 +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
Roberto Abdelkader Martínez Pérez
7267b3a821 make catalog to show step catalog 2019-08-20 09:59:23 +02:00
Roberto Abdelkader Martínez Pérez
5e253c9814 Change response code from phrase to code and 'phrase' by 'reason phrase' 2019-08-20 09:54:18 +02:00
Roberto Abdelkader Martínez Pérez
5352322ad5 Adapting style to the capabilities of gherkin-lint. 2019-08-20 08:22:48 +02:00
Héctor Hurtado
040fc55b39 Added insert/success and insert/error_unprocessable features. Fixed some typos on append/error_unprocessable feature 2019-08-17 10:37:36 +02:00
Héctor Hurtado
ba9e80e620 Added delete/success and delete/error_notfound features 2019-08-17 10:28:47 +02:00
Héctor Hurtado
baf8217a14 Added append/success and append/error_unprocessable features 2019-08-17 10:26:40 +02:00
Héctor Hurtado
12a5d8761b Rewritten the step to start a preconfigured server 2019-08-17 10:24:10 +02:00
Roberto Abdelkader Martínez Pérez
bc2b323923 Implement feature list success. 2019-08-14 13:19:56 +02:00
Héctor Hurtado
4e86cf1ba4 Added control/list/success.feature scenarios 2019-08-14 11:13:18 +02:00
Roberto Abdelkader Martínez Pérez
b4b8be995b Starting the spec E2E tests. 2019-08-13 13:19:40 +02:00