pancho horrillo
ab50721f69
test(spec): Control Server API secured via cross-pinning mTLS
...
. We are now leveraging nix for portable dependency handling.
. There are now three types of tests: client, server and end-to-end.
. server tests exercise the actual kapow server being tested, while the
requests are performed using the test steps.
. client tests exercise the actual kapow client being tested, while the
requests are served using the test steps.
. e2e test exercise the actual kapow program in its dual role of client
and server (¡como tiene que ser!).
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2021-03-12 17:09:50 +01:00
Héctor Hurtado
ee9bb8df9c
New error handling in poc and features
2019-11-14 15:05:19 +01:00
pancho horrillo
9eb186bd0f
Revert "Closes: #66 "
...
This reverts commit c3be29255a .
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2019-11-11 17:47:20 +01:00
Héctor Hurtado
9cb9e9335d
Closes : #68
2019-10-25 11:50:14 +02:00
Héctor Hurtado
c3be29255a
Closes : #66
2019-10-25 09:52:12 +02:00
Héctor Hurtado
a54c6f24a1
Added getRoute to control api
2019-10-24 17:52:03 +02:00
Héctor Hurtado
90449773e4
Added legal header to all features and step definitions files
2019-10-23 13:45:54 +02:00
pancho horrillo
36a61285b9
Style fix.
...
Note: "midst" tends to be used in more literary settings.
2019-09-06 13:55:22 +02:00
Roberto Abdelkader Martínez Pérez
58a800e5e9
Replace request/response with new commands
2019-09-05 08:40:59 +02:00
Roberto Abdelkader Martínez Pérez
8e259b42de
Fix tables alignment
2019-09-03 09:21:20 +02:00
Roberto Abdelkader Martínez Pérez
99ab41d2cb
Change URL examples by metasyntactic variable names (RFC3092)
2019-09-03 09:13:30 +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
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
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
7e687daf23
Replaced id wildcard value for ANY
2019-08-21 13:06: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
c3e26b0e8f
Remove old spec behavior
2019-08-21 11:57:14 +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
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
f6014ab403
Step alias for JSON document.
2019-08-21 08:38:13 +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
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