Spock Web Console

subscribe to the feed Subscribe
spock with unroll (via #spockwebconsole)
tweet this script Tweet

spock with unroll

Published 1 month ago by xico
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
@Unroll
class HelloSpock extends spock.lang.Specification {
    def "length of Spock's and his friend #name"() {
        expect:
        name.size() == length

        where:
        name     | length
        "Spock"  | 5
        "Kirk"   | 4
        "Scotty" | 6
    }
}