public
Created

Spock Example

  • Download Gist
spock.groovy
Groovy
1 2 3 4 5 6 7 8 9 10
def "length of Spock's and his friends' names"() {
expect:
name.size() == length
 
where:
name | length
"Spock" | 5
"Kirk" | 4
"Scotty" | 6
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.