Commit Graph

113 Commits

Author SHA1 Message Date
Roberto Abdelkader Martínez Pérez
94e4f54cef Mention gherkin-lint. Closes #18 2019-08-26 19:26:40 +02:00
Roberto Abdelkader Martínez Pérez
6de3ca9ebe Instructions about running spec tests. 2019-08-26 11:48:21 +02:00
Roberto Abdelkader Martínez Pérez
4919d2892f Use double backquotes 2019-08-26 11:25:30 +02:00
Roberto Abdelkader Martínez Pérez
fac67e5885 Add rstcheck tool 2019-08-26 11:24:39 +02:00
Roberto Abdelkader Martínez Pérez
ae9b417433 Update README.rst 2019-08-26 11:17:27 +02:00
Roberto Abdelkader Martínez Pérez
e787f82c2d Spec test suite README. 2019-08-26 11:15:02 +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
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