Commit Graph
100 Commits
Author SHA1 Message Date
Roberto Abdelkader Martínez Pérez 6affed99c8 Remove gopoc dir and make the main.go listen to 8080 and 8081 to further check the pipeline. 2019-09-04 16:35:03 +02:00
Roberto Abdelkader Martínez Pérez 0d13531773 Change to ksts working dir to find the features 2019-09-04 16:30:47 +02:00
Roberto Abdelkader Martínez Pérez 8cc01c804e Change to ksts working dir to find the features 2019-09-04 16:29:09 +02:00
Roberto Abdelkader Martínez Pérez 1e014c47dc Use golang 1.12 CircleCI image 2019-09-04 16:25:05 +02:00
Roberto Abdelkader Martínez Pérez 81e74520db Using current dir as workspace 2019-09-04 16:22:40 +02:00
Roberto Abdelkader Martínez Pérez 4a67424c36 CircleCI config syntax error 2019-09-04 16:21:17 +02:00
Roberto Abdelkader Martínez Pérez 0590dec632 CircleCI config syntax error fix 2019-09-04 16:16:22 +02:00
Roberto Abdelkader Martínez Pérez 72981365c9 Minor changes parametrizing the Makefile and CircleCI config. 2019-09-04 16:14:44 +02:00
Roberto Abdelkader Martínez Pérez 70c01f7bcc Add go.mod 2019-09-04 15:45:13 +02:00
Roberto Abdelkader Martínez Pérez 4a2c7d5938 Merge pull request #22 from CesarGallego/master
basic go build process
2019-09-04 15:16:29 +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 4db40d2b87 Arrr 2019-09-03 11:18:35 +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 c7e5144308 Remove pointless table 2019-09-03 09:03:30 +02:00
Roberto Abdelkader Martínez Pérez dfbbd56ecf buildme script not used anymore 2019-09-03 08:43:37 +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
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
Roberto Abdelkader Martínez Pérez ed00f2c3d7 Introduce defaults again 2019-08-29 16:28:10 +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 ceb41d4f7d Update README.rst 2019-08-26 11:49:29 +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 f28ca5a114 Proper indentation 2019-08-23 17:31:24 +02:00
Roberto Abdelkader Martínez Pérez 53ce823448 New gif with interactive mode option '-i' 2019-08-23 17:21:24 +02:00
Roberto Abdelkader Martínez Pérez 703f2ab762 New gif with interactive mode option '-i' 2019-08-23 17:19:53 +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
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 71bca13fed Cosmetic changes to kapow route commands output and new 'kapow route list' subcommand 2019-08-22 10:51:30 +02:00
Roberto Abdelkader Martínez Pérez 1bf08c706b Kapow! is non interactive by default now
Update docker to run it in the background.
2019-08-22 10:40:32 +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
Roberto Abdelkader Martínez Pérez 483056ea16 Clarification about aiohttp unsafe usage in PoC 2019-08-21 13:11:49 +02:00
Roberto Abdelkader Martínez Pérez e8c98bcfeb Remove unwanted tag 2019-08-21 13:07:44 +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 9ae748e5c1 Merge pull request #17 from CesarGallego/master
Spec changes
2019-08-21 12:05:37 +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
Roberto Abdelkader Martínez Pérez 50262c599d Implemented insert route in PoC. 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 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
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
Roberto Abdelkader Martínez Pérez e4771de5ed Implement non-interactive mode. Add -i/--interactive flag. 2019-08-16 17:19:19 +02:00
Roberto Abdelkader Martínez Pérez bc2b323923 Implement feature list success. 2019-08-14 13:19:56 +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
Roberto Abdelkader Martínez Pérez 21547e3fe9 Optimize Dockerfile layer order to improve speed. 2019-07-09 11:35:41 +02:00
Roberto Abdelkader Martínez Pérez a7e5f63612 Added new resources to expose form fields and form fields with files. 2019-07-09 11:31:55 +02:00
Roberto Abdelkader Martínez Pérez a4bc96555e Separated user and control interfaces. 2019-07-03 14:29:22 +02:00
Roberto Abdelkader Martínez Pérez 34e35bbcbf Fixed wrong /request path. 2019-06-12 07:35:39 +02:00
Roberto Abdelkader Martínez Pérez 77f2855471 Added /request/host to both, the spec and the poc. 2019-06-12 07:35:15 +02:00
Roberto Abdelkader Martínez Pérez b10765f623 Merge remote-tracking branch 'origin/develop' into server-as-subcommand 2019-06-05 10:19:43 +02:00
Roberto Abdelkader Martínez Pérez 96739189f1 Making PoC follow spec regarding to the "kapow route" command and, incidentally creating a new "kapow server" command. 2019-06-04 14:40:01 +02:00
Roberto Abdelkader Martínez Pérezandpancho horrillo 7accfdd355 spec: Several TODOs
Co-authored-by: pancho horrillo <pedrofelipe.horrillo@bbva.com>
2019-05-27 11:13:57 +02:00
Roberto Abdelkader Martínez Pérez ef1cd783cd Reverting wrong URL patterns in poc. Going back to commit e588785dd1 2019-05-24 11:02:10 +02:00