Skip to content
Permalink
Browse files

Adding Spock and Gradle.

  • Loading branch information...
linhpham committed Aug 9, 2015
1 parent f938aa7 commit 8f76a055c5b802b681252b22033035adcb7d282f
@@ -0,0 +1,22 @@
apply plugin: "groovy"

version = "1.0"
description = "Spock Framework - Data fix Project"

// Spock works with Java 1.5 and above
//sourceCompatibility = 1.5

repositories {
// Spock releases are available from Maven Central
mavenCentral()
// Spock snapshots are available from the Sonatype OSS snapshot repository
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}

dependencies {
// mandatory dependencies for using Spock
compile "org.codehaus.groovy:groovy-all:2.4.1"
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
testCompile "cglib:cglib:2.2"
testCompile "org.objenesis:objenesis:1.2"
}
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,11 @@
import spock.lang.*

class ProcessSpec extends Specification {
def "#first test"() {
when:
def a = true

then:
a == false
}
}

0 comments on commit 8f76a05

Please sign in to comment.
You can’t perform that action at this time.