{"id":15174154,"url":"https://github.com/edsonwade/demo-cucumber","last_synced_at":"2026-02-26T16:51:15.318Z","repository":{"id":244689541,"uuid":"815706191","full_name":"edsonwade/demo-cucumber","owner":"edsonwade","description":"This repository contains a demonstration of testing using Behavior-Driven Development","archived":false,"fork":false,"pushed_at":"2024-07-03T11:09:51.000Z","size":42279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T23:16:50.668Z","etag":null,"topics":["cucumber","cucumber-java","h2-database","java","jpa-hibernate","mockito-junit-test","postgresql","spring-boot"],"latest_commit_sha":null,"homepage":"https://github.com/edsonwade/demo-cucumber","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edsonwade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-15T22:36:08.000Z","updated_at":"2024-07-03T11:09:55.000Z","dependencies_parsed_at":"2025-02-11T11:42:47.769Z","dependency_job_id":null,"html_url":"https://github.com/edsonwade/demo-cucumber","commit_stats":null,"previous_names":["edsonwade/demo-cucumber"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edsonwade/demo-cucumber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsonwade%2Fdemo-cucumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsonwade%2Fdemo-cucumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsonwade%2Fdemo-cucumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsonwade%2Fdemo-cucumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsonwade","download_url":"https://codeload.github.com/edsonwade/demo-cucumber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsonwade%2Fdemo-cucumber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29865398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T16:38:37.846Z","status":"ssl_error","status_checked_at":"2026-02-26T16:37:58.932Z","response_time":89,"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","cucumber-java","h2-database","java","jpa-hibernate","mockito-junit-test","postgresql","spring-boot"],"created_at":"2024-09-27T11:40:18.627Z","updated_at":"2026-02-26T16:51:15.275Z","avatar_url":"https://github.com/edsonwade.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# demo-cucumber\n\n## Introduction\nThis repository contains a demonstration of testing using Behavior-Driven Development\n(BDD) with Cucumber for a Java Spring Boot application.\nIt includes tests covering various aspects such as REST API endpoints using `MockMvc`,\n`ResponseEntity`, and integration tests for controllers, services, and repositories.\n\n## Content Description\nThe tests are structured to ensure comprehensive coverage of different layers of the application:\n\n- **Controller Tests**: Validate the behavior of REST endpoints using `MockMvc` for simulating HTTP requests and verifying responses.\n- **Service Tests**: Test the business logic and interactions within service layers.\n- **Repository Tests**: Verify the interactions with the database layer using Spring's test framework.\n- **BDD Tests with Cucumber**: Define and execute scenarios in a human-readable format using Gherkin syntax, enhancing collaboration between stakeholders and developers.\n\n## Implementation\n### Prerequisites\n- Java 8 or higher\n- Maven\n- Spring Boot\n\n### Running Tests\nTo run the tests, use the following command:\n```bash\nmvn test\n\ngit checkout -b feature/your-feature-name\n\ngit commit -am 'Add some feature'\n\ngit push origin feature/your-feature-name\n```\n\n### Explanation:\n- **Introduction**: Clearly states the purpose of the repository, which is to demonstrate BDD testing with Cucumber in a Java Spring Boot environment.\n- **Content Description**: Outlines what the repository includes—tests for controllers, services, repositories, and BDD tests with Cucumber—and briefly explains their importance.\n- **Implementation**: Provides practical information such as prerequisites, how to run tests, and the structure of the project directory.\n- **Contribution**: Offers guidelines on how others can contribute to the project, ensuring collaboration and code quality.\n- **License**: Specifies the licensing terms under which the repository is distributed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsonwade%2Fdemo-cucumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsonwade%2Fdemo-cucumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsonwade%2Fdemo-cucumber/lists"}