{"id":14979953,"url":"https://github.com/spockframework/spock-example","last_synced_at":"2025-05-14T18:05:17.650Z","repository":{"id":2585905,"uuid":"3567238","full_name":"spockframework/spock-example","owner":"spockframework","description":"Spock example specifications along with ready-to-go Gradle and Maven builds","archived":false,"fork":false,"pushed_at":"2025-04-20T14:21:39.000Z","size":803,"stargazers_count":784,"open_issues_count":2,"forks_count":512,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-04-20T15:24:26.330Z","etag":null,"topics":["gradle","maven","spock"],"latest_commit_sha":null,"homepage":"http://spockframework.org","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spockframework.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2012-02-28T02:18:13.000Z","updated_at":"2025-04-20T14:20:25.000Z","dependencies_parsed_at":"2023-07-05T17:15:31.724Z","dependency_job_id":"24ffdf66-64c4-4189-99be-c3576f05808d","html_url":"https://github.com/spockframework/spock-example","commit_stats":{"total_commits":132,"total_committers":15,"mean_commits":8.8,"dds":0.6742424242424243,"last_synced_commit":"cb606b87f236ea7a99060db3c9748baf298acb0d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spockframework%2Fspock-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spockframework%2Fspock-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spockframework%2Fspock-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spockframework%2Fspock-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spockframework","download_url":"https://codeload.github.com/spockframework/spock-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198514,"owners_count":22030965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gradle","maven","spock"],"created_at":"2024-09-24T14:00:59.875Z","updated_at":"2025-05-14T18:05:12.641Z","avatar_url":"https://github.com/spockframework.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"[.float-group]\n--\nimage::https://img.shields.io/badge/License-Apache%202.0-blue.svg[link=https://github.com/spockframework/spock/blob/master/LICENSE,float=left]\nimage::https://github.com/spockframework/spock-example/actions/workflows/main.yml/badge.svg[link=https://github.com/spockframework/spock-example/actions/workflows/main.yml,float=left]\nimage::https://badges.gitter.im/spockframework/spock.svg[link=https://gitter.im/spockframework/spock?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge,float=left]\n--\n\n== Spock Framework Example Project\n\n\nThe purpose of this project is to help you get started with Spock. The project includes several example specifications and build scripts for Gradle and Maven. It also makes it easy to create an Eclipse or IDEA project, allowing you to run the example specs from within your IDE.\n\nAll builds (Gradle and Maven) will automatically download all required dependencies, compile the project, and finally run the example specs. The Gradle build goes one step further by bootstrapping itself, alleviating the need to have a build tool preinstalled.\n\n=== Prerequisites\n\n- JDK 8 or higher\n- Maven use `mvnw` wrapper\n- Gradle use `gradlew` wrapper\n\nNOTE: This example shows the usage of Spock 2.0, which uses the JUnit Platform. If you want to see how to get Spock 1.x with JUnit 4 up and running see the https://github.com/spockframework/spock-example/tree/spock-1.x[Spock-1.x] Branch.\n\n=== Building with Gradle\nType:\n\n    ./gradlew clean test\n\nDownloaded files (including the Gradle distribution itself) will be stored in the Gradle user home directory (typically *user_home*`/.gradle`).\n\n=== Building with Maven\nType:\n\n    ./mvnw clean test\n\nDownloaded files will be stored in the local Maven repository (typically *user_home*`/.m2/repository`).\n\n=== Creating an Eclipse project\n\nInstall the https://projects.eclipse.org/projects/tools.buildship[Buildship plugin] if you want to use gradle as build tool.\n\n=== Creating an IDEA project\nJust open the project directory with Intelli IDEA and it should auto-detect the project settings.\n\n=== Further Resources\n\n\n* https://spockframework.org[Spock homepage]\n* https://meetspock.appspot.com[Spock web console]\n* https://docs.spockframework.org/[Main documentation]\n* https://stackoverflow.com/questions/tagged/spock[Spock on Stackoverflow]\n* https://gitter.im/spockframework/spock[Spock Chat]\n* https://github.com/spockframework/spock/discussions[Discussion group]\n* https://issues.spockframework.org[Issue tracker]\n* https://twitter.com/spockframework[Spock on Twitter]\n* https://gradle.org[Gradle homepage]\n* https://groovy-lang.org/[Groovy homepage]\n* https://maven.apache.org[Maven homepage]\n\nIf you have any comments or questions, please direct them to the Spock discussion group. We appreciate all feedback!\n\nHappy spec'ing!\n\nThe Spock Framework Team\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspockframework%2Fspock-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspockframework%2Fspock-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspockframework%2Fspock-example/lists"}