GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - spockframework/spock-example at java-8

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

168 Commits
168 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mvn/wrapper
.mvn/wrapper
 
 
gradle/wrapper
gradle/wrapper
 
 
src/test
src/test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.adoc
README.adoc
 
 
build.gradle
build.gradle
 
 
build.xml
build.xml
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
ivy.xml
ivy.xml
 
 
ivysettings.xml
ivysettings.xml
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

License Apache%202.0 blue
badge
spock

Spock Framework Example Project

The 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.

All 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.

Prerequisites

  • JDK 8 or higher

  • Maven use mvnw wrapper

  • Gradle use gradlew wrapper

Note
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 Spock-1.x Branch.

Building with Gradle

Type:

./gradlew clean test

Downloaded files (including the Gradle distribution itself) will be stored in the Gradle user home directory (typically user_home/.gradle).

Building with Maven

Type:

./mvnw clean test

Downloaded files will be stored in the local Maven repository (typically user_home/.m2/repository).

Creating an Eclipse project

Install the Buildship plugin if you want to use gradle as build tool.

Creating an IDEA project

Just open the project directory with Intelli IDEA and it should auto-detect the project settings.

Further Resources

  • Spock homepage

  • Spock web console

  • Main documentation

  • Spock on Stackoverflow

  • Spock Chat

  • Discussion group

  • Issue tracker

  • Spock on Twitter

  • Gradle homepage

  • Groovy homepage

  • Maven homepage

If you have any comments or questions, please direct them to the Spock discussion group. We appreciate all feedback!

Happy spec’ing!

The Spock Framework Team

About

Spock example specifications along with ready-to-go Gradle and Maven builds

spockframework.org

Topics

gradlemavenspock

Resources

Readme
License
Activity
Custom properties

Stars

786 stars

Watchers

49 watching

Forks

504 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.