{"id":22152133,"url":"https://github.com/findinpath/spring-retry-cucumber","last_synced_at":"2026-04-29T20:10:41.794Z","repository":{"id":42565759,"uuid":"223615597","full_name":"findinpath/spring-retry-cucumber","owner":"findinpath","description":"Cucumber tests written for spring-retry Github API client","archived":false,"fork":false,"pushed_at":"2022-12-15T23:24:54.000Z","size":281,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T06:07:02.494Z","etag":null,"topics":["cucumber-jvm","spring-aop","spring-boot","spring-retry"],"latest_commit_sha":null,"homepage":"https://www.findinpath.com/spring-retry-cucumber/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/findinpath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-23T16:02:58.000Z","updated_at":"2019-11-23T23:10:11.000Z","dependencies_parsed_at":"2023-01-29T04:45:51.623Z","dependency_job_id":null,"html_url":"https://github.com/findinpath/spring-retry-cucumber","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/findinpath/spring-retry-cucumber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findinpath%2Fspring-retry-cucumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findinpath%2Fspring-retry-cucumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findinpath%2Fspring-retry-cucumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findinpath%2Fspring-retry-cucumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/findinpath","download_url":"https://codeload.github.com/findinpath/spring-retry-cucumber/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findinpath%2Fspring-retry-cucumber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cucumber-jvm","spring-aop","spring-boot","spring-retry"],"created_at":"2024-12-02T00:47:20.876Z","updated_at":"2026-04-29T20:10:41.777Z","avatar_url":"https://github.com/findinpath.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Executable test specifications for Spring Retry Beans with Cucumber\n===================================================================\n\n\nThis project showcases on how to test [spring-retry](https://github.com/spring-projects/spring-retry)\nretryable functionality with [Cucumber](https://github.com/cucumber/cucumber-jvm) library.\n\n\nThe outcome of using [Cucumber](https://cucumber.io/docs) for test purposes\nare very easy to read test specifications which empower even non-technical\nusers to get a good feeling about the expected functionality of the \napplication.\n\nBelow are presented the accuracy \u0026 failure test scenarios for a Github API\nclient with [spring-retry](https://github.com/spring-projects/spring-retry)\nconfigured functionality.\n\n![accuracy test scenarios](img/accuracy-test-scenarios.png)\n![failure test scenarios](img/failure-test-scenarios.png)\n\n \n\nThe [spring-retry]([spring-retry](https://github.com/spring-projects/spring-retry))\nfunctionality is added on top of the basic Github API client via \nSpring AOP\n\nCheck an in-depth article regarding the introduction of metrics\nvia Spring AOP on the spring-retry functionality here \nhttps://www.findinpath.com/spring-retry-metrics/\n\n\nFor testing, the library [WireMock](http://wiremock.org/) is being used\nfor being able to mock the Github API.\nCheck more details on how to browse through the requests reaching WireMock\nServer on the blog post: https://www.findinpath.com/wiremock-logged-requests/\n\n\n[Cucumber Gherkin](https://cucumber.io/docs/gherkin/reference/) grammar rules \nused for parsing the executable test specifications are extended in this project\nto be able to support custom types:\n\n- `com.github.tomakehurst.wiremock.http.RequestMethod`\n- `org.springframework.http.HttpStatus`\n\nSee in the images referenced above the highlighted tokens:\n\n- `GET` (corresponds to `RequestMethod.GET`)\n- `INTERNAL_SERVER_ERROR` (corresponds to `HttpStatus.INTERNAL_SERVER_ERROR`)\n\nto understand that the registration of custom types in Gherkin\nhas a clear outcome in better readability for the executable test\nspecifications.\n\n\n\nUse the following command:\n\n```bash\nmvn clean install\n```\n\nfor running the tests on the project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindinpath%2Fspring-retry-cucumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffindinpath%2Fspring-retry-cucumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindinpath%2Fspring-retry-cucumber/lists"}