Spock Web Console

subscribe to the feed Subscribe
1 (via #spockwebconsole)
tweet this script Tweet

1

Published 3 months ago by 2 with tags 3
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

class MyFirstSpec extends Specification {

def setup() {
    println "setup"
}          

def cleanup() {
    println "cleanup"
}

def setupSpec() {
    println "setupSpec"
}

def cleanupSpec() {
    println "cleanupSpec"
}

def "first test"() {
    expect:
    0 == 0
}

def "second test"() {
    expect:
    1 == 1
}

}