Spock Web Console

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

Example

Published 4 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
class MyFirstSpec extends Specification {
  def "let's try this!"() {
    expect:
    value == expected

    where:
    value    | expected
    1        | 1
    2        | 2
  }
}