Commit Graph

953 Commits

Author SHA1 Message Date
Roberto Abdelkader Martínez Pérez
50262c599d Implemented insert route in PoC. 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
César Gallego Rodríguez
d4bcd4cae6 Correct line breaks. 2019-08-21 10:21:16 +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
César Gallego Rodríguez
2eaac52a03 Less errors, less complex. 2019-08-21 10:15:55 +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
César Gallego Rodríguez
c834bd4447 Robustness principle and optional body. 2019-08-21 09:57:44 +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
César Gallego Rodríguez
a7ea97d1d5 Explicit format in command. 2019-08-21 09:42:21 +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
443aa0f39c Use 201 for successfule route append response. 2019-08-21 09:08:22 +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
7c5f127f22 If no interactive without scripts is not interactive. 2019-08-20 10:29:30 +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
e4771de5ed Implement non-interactive mode. Add -i/--interactive flag. 2019-08-16 17:19:19 +02:00
Héctor Hurtado
fc5e510f89 Fix typo in new error code 2019-08-14 21:06:33 +02:00
Héctor Hurtado
2d53a66c3e Fixed some typos in spec's correction 2019-08-14 20:57:19 +02:00
Héctor Hurtado
42bebfcc89 Fixed som errors and modified control API specs to support route_id ans new 412 error codes 2019-08-14 20:43:33 +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
Héctor Hurtado
29b85bdfdb Added Hector's Go poc 2019-08-13 14:17:39 +02:00
Roberto Abdelkader Martínez Pérez
b4b8be995b Starting the spec E2E tests. 2019-08-13 13:19:40 +02:00
Roberto Abdelkader Martínez Pérez
dcb12801ce GoLint 2019-08-06 16:35:22 +02:00
Roberto Abdelkader Martínez Pérez
b5110cb681 Ignore binary output. 2019-08-06 16:19:37 +02:00
Roberto Abdelkader Martínez Pérez
4f279059a2 Import order. 2019-08-06 16:19:26 +02:00
Roberto Abdelkader Martínez Pérez
4b8ca7d379 Go module. 2019-08-06 16:18:13 +02:00
Roberto Abdelkader Martínez Pérez
c6cb9e361e Remove executable. 2019-08-06 12:32:28 +02:00
Roberto Abdelkader Martínez Pérez
0c783447e3 Minimal poc in Go, executing one command and with two HTTP servers. 2019-08-06 12:06:58 +02:00
Roberto Abdelkader Martínez Pérez
292acac8ab Inserting an empty line between .pow files when loading multiple at a time. Closes #6. 2019-08-02 10:34:27 +02:00
Roberto Abdelkader Martínez Pérez
0f87d22317 Setup files for PoC. Closes #7 2019-08-02 10:21:50 +02:00
Roberto Abdelkader Martínez Pérez
505b1ca07a Added SSL support and ability to change bind host and port. 2019-07-17 16:11:37 +02:00