Commit Graph

106 Commits

Author SHA1 Message Date
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
3e2bc44c0b spec/Makefile: on fix target, skip tagged scenarios and features
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-11-14 17:53:02 +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
e4606ab84a Drop compound error scenario
In order to allow different Kapow! implementations (Go, Python, ...)
compound errors will be left as implementation-dependent.
The spec will only test for simple error conditions.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2019-11-11 17:47:28 +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
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
pancho horrillo
275db5ef91 spec: add entry on KAPOW_USER_URL env var 2019-10-30 17:40:40 +01:00
pancho horrillo
604a6d7d4d spec: add entry on KAPOW_BOOT_TIMEOUT env var 2019-10-30 17:40:33 +01:00
Héctor Hurtado
0021f754fd Changed get resource item and handler ID not found scenarios.
This change is to comply with Go's implementation.

Co-authored-by: pancho horrillo <pedrofelipe.horrillo.@bbva.com>
2019-10-29 15:50:43 +01:00
Héctor Hurtado
fb50e24836 CLOSES: #71 2019-10-28 11:42:52 +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
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
pancho horrillo
6154210b3f Update PoC and features with the 204 -> 404 update
Closes #33
2019-10-04 17:24:27 +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
pancho horrillo
157886c3a5 Add scenario to the test suite where overwriting resources is checked.
Thanks to @nilp0inter for providing justification for the scenario.
2019-09-05 18:57:47 +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
a2bc41738b A Dockerfile to create a CircleCI base image 2019-09-03 15:58:45 +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
538910e16c Adjust max step length 2019-08-30 15:19:27 +02:00
Roberto Abdelkader Martínez Pérez
0ebbc0674a Feature data/response/success 2019-08-30 15:17:48 +02:00
Héctor Hurtado
741867b5f3 Fix data/handler/success feature file 2019-08-30 13:18:00 +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
0535f66c85 Implement Resource Item Not Found 2019-08-30 12:40:20 +02:00
Roberto Abdelkader Martínez Pérez
c9a9e90a7e Fix Invalid Path Resource error 2019-08-30 12:33:29 +02:00
Roberto Abdelkader Martínez Pérez
6e5633a460 Use double quotes for values 2019-08-30 11:26:49 +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
c156eb1bdc A nicer pun 2019-08-29 16:34:59 +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
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
666bfb09f9 Merge branch 'master' of ssh://github.com/BBVA/kapow
Merged
2019-08-27 09:44:43 +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
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