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
Roberto Abdelkader Martínez Pérez
310d319ea3
test: Update kapow env vars to the new ones.
...
Co-authored-by: César Gallego <cesar.gallego.next@bbva.com >
2020-11-17 17:10:05 +01:00
Roberto Abdelkader Martínez Pérez
2c32daedcb
Default value in case there is no header
2019-11-18 10:31:00 +01:00
pancho horrillo
03de51e6ca
Fix missing quotes in step
...
Co-authored-by: César Gallego Rodríguez <cesar.gallego.next@bbva.com >
Co-Authored-By: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2019-11-14 17:13:34 +01:00
Héctor Hurtado
ee9bb8df9c
New error handling in poc and features
2019-11-14 15:05:19 +01:00
pancho horrillo
6194c6961a
Tweak PoC to pass current test suite
...
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com >
2019-11-11 17:47:28 +01:00
pancho horrillo
c3180e3e7d
spec: fix incorrect default value for KAPOW_DATAAPI_URL
...
This caused ghost failures when running the tests.
2019-10-30 17:40:40 +01:00
Héctor Hurtado
90449773e4
Added legal header to all features and step definitions files
2019-10-23 13:45:54 +02:00
Roberto Abdelkader Martínez Pérez
be6a2efcc4
Wait less time between retries
...
Co-authored-by: Hector Hurtado <hector.hurtado@bbva.com >
2019-10-22 13:23:49 +02:00
Roberto Abdelkader Martínez Pérez
0ebbc0674a
Feature data/response/success
2019-08-30 15:17:48 +02:00
Héctor Hurtado
4e3470afa0
Implemented step definitions for data/handler/error_notfound feature. Changed resource paths in data features to be prefixed by /
2019-08-30 12:56:53 +02:00
Roberto Abdelkader Martínez Pérez
3aec3a0c30
Steps to get and analyze resources
2019-08-30 11:26:18 +02:00
Roberto Abdelkader Martínez Pérez
312d7af506
Remove unnecessary steps
2019-08-29 16:32:58 +02:00
Roberto Abdelkader Martínez Pérez
b8d76e0aca
Steps and entrypoint to yield control from Kapow! handlers
2019-08-29 16:32:45 +02:00
César Gallego Rodríguez
b039db214f
finished draf implementation of data debug
2019-08-29 16:28:10 +02:00
César Gallego Rodríguez
990cc1ba8f
WIP: data handler success.feature
2019-08-29 16:27:31 +02:00
Roberto Abdelkader Martínez Pérez
6b0ff05010
Implement get route details. Closes #12
2019-08-23 15:18:54 +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
93a3562c04
Empty response body step is too restrictive
2019-08-23 11:53:14 +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
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
956bb2a2a3
Missing steps
2019-08-21 11:29: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
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
c07638601b
Implementing poc spec behavior in append route.
2019-08-20 10:59:39 +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
5e253c9814
Change response code from phrase to code and 'phrase' by 'reason phrase'
2019-08-20 09:54:18 +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