Spock Web Console

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

test

Published 3 years ago by Tester Nijo with tags 1st trial
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

// Hit 'Run Script' below
class MyFirstSpec extends Specification {
  def "let's try this!"() {
    expect:
    name.size() == length
    
    where:
    name << ["one","two","three"]
    length = 3
  }
}