Spock Web Console

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

Where test

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

// Hit 'Run Script' below
@Unroll
class MyFirstSpec extends Specification {
  def "let's try this #i == #x!"() {
    expect:
        i == x
    where:
        i    | x
        1    | 1
        2    | 2
        4    | 2
        2    | 3
  }
}