Created
November 2, 2011 03:06
-
-
Save lyhcode/1332740 to your computer and use it in GitHub Desktop.
Gradle with Groovy and SpockFramework testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'groovy' | |
apply plugin: 'eclipse' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
groovy 'org.codehaus.groovy:groovy-all:1.8.3' | |
testCompile 'org.spockframework:spock-core:0.5-groovy-1.8' | |
} | |
sourceCompatibility = 1.5 | |
version = '1.0' | |
jar { | |
manifest { | |
attributes 'Implementation-Title': 'PLWebXML API', 'Implementation-Version': version | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import spock.lang.Specification | |
class SimpleReadWriteSpecification extends Specification { | |
def "Simple PLXML file read"() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment