{"id":39707963,"url":"https://github.com/cucumber/cucumber-jvm-starter-gradle-java","last_synced_at":"2026-01-18T10:35:20.321Z","repository":{"id":333111549,"uuid":"1111357968","full_name":"cucumber/cucumber-jvm-starter-gradle-java","owner":"cucumber","description":" This is the simplest possible setup for Cucumber-JVM using Java with Gradle. ","archived":false,"fork":false,"pushed_at":"2026-01-17T10:36:04.000Z","size":1327,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T22:05:20.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cucumber.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"cucumber","github":"cucumber"}},"created_at":"2025-12-06T19:23:37.000Z","updated_at":"2026-01-17T10:36:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cucumber/cucumber-jvm-starter-gradle-java","commit_stats":null,"previous_names":["cucumber/cucumber-jvm-starter-gradle-java"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/cucumber/cucumber-jvm-starter-gradle-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fcucumber-jvm-starter-gradle-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fcucumber-jvm-starter-gradle-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fcucumber-jvm-starter-gradle-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fcucumber-jvm-starter-gradle-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cucumber","download_url":"https://codeload.github.com/cucumber/cucumber-jvm-starter-gradle-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fcucumber-jvm-starter-gradle-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-18T10:35:19.663Z","updated_at":"2026-01-18T10:35:20.314Z","avatar_url":"https://github.com/cucumber.png","language":"Java","funding_links":["https://opencollective.com/cucumber","https://github.com/sponsors/cucumber"],"categories":[],"sub_categories":[],"readme":"# Cucumber-JVM Starter: Java with Gradle\n\nThis is the simplest possible setup for Cucumber using Java with Gralde.\nThere is nothing fancy like a webapp or browser testing. All this does is to\nshow you how to set up and run Cucumber!\n\nThere is a single feature file with one scenario. The scenario has three steps,\none passing, skipped and undefined. See if you can make them all pass!\n\nTo write assertions the project comes with [AssertJ](https://assertj.github.io/doc/#assertj-core-assertions-guide)\nincluded. \n\n## Get the code\n\nGit:\n\n    git clone https://github.com/cucumber/cucumber-jvm-starter-gradle-java.git\n    cd cucumber-jvm-starter-gradle-java\n\nOr [download a zip](https://github.com/cucumber/cucumber-jvm-starter-gradle-java/archive/main.zip) file.\n\n## Run the tests\n\nOpen a command window and run:\n\n    ./gradlew test --rerun-tasks --info\n\nThis runs Cucumber features using Cucumber's JUnit Platform Engine. The `Suite`\nannotation on the `RunCucumberTest` class tells JUnit to kick off Cucumber.\n\n## Configuration \n\nThe [Cucumber JUnit Platform Engine](https://github.com/cucumber/cucumber-jvm/tree/main/cucumber-junit-platform-engine) uses configuration parameters to know what features to run,\nwhere the glue code lives, what plugins to use, etc. When using JUnit, these\nconfiguration parameters are provided through the `@ConfigurationParameter`\nannotation on your test.\n\nFor available parameters see: `io.cucumber.junit.platform.engine.Constants`\n\n## Run a subset of Features or Scenarios\n\nSpecify a particular scenario by *line*\n\n    @SelectClasspathResource(value = \"io/cucumber/skeleton/belly.feature\", line = 3)\n\nIn case you have multiple feature files or scenarios to run against repeat the\nannotation.\n\nYou can also specify what to run by *tag*. \n\nFirst add a tag to a scenario:\n\n```feature\nFeature: Belly\n\n  @Zucchini\n  Scenario: a few cukes\n```\n\nThen add an annotation to `RunCucumberTest`.\n\n```java\n@IncludeTags(\"Zucchini\")\n```\n\nThese take a\n[JUnit5 Tag Expression](https://junit.org/junit5/docs/current/user-guide/#running-tests-tag-expressions). \nNote: When using JUnit, the `@` is not part of the tag.\n\nTags can also be selected from the CLI using the `cucumber.filter.tags` parameter.\nThis takes a [Cucumber Expression](https://github.com/cucumber/cucumber-expressions).\n\n```\n./gradlew test --rerun-tasks --info -Dcucumber.filter.tags=\"not @Haricots and (@Zucchini or @Gherkin)\" \n```\n\nNote: Add `-Dcucumber.plugin=pretty` to get a more detailed output during test execution.\n\n### Running a single scenario or feature\n\nGradle does not (yet) support selecting single features or scenarios\nwith JUnit selectors. As a work around the `cucumber.features` property can be\nused. Because this property will cause Cucumber to ignore any other selectors\nfrom JUnit it is prudent to only execute the Cucumber engine.\n\nTo select the scenario on line 3 of the `belly.feature` file use:\n\n```\n./gradlew test --rerun-tasks --info -Dcucumber.features=src/test/resources/io/cucumber/skeleton/belly.feature:3 -Dcucumber.plugin=pretty\n```\n\nNote: Add `-Dcucumber.plugin=pretty` to get a more detailed output during test execution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucumber%2Fcucumber-jvm-starter-gradle-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcucumber%2Fcucumber-jvm-starter-gradle-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucumber%2Fcucumber-jvm-starter-gradle-java/lists"}