Spock Web Console

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

Test

Published 9 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!"() {
    when:
        def c = 1 + 2
    then:
        c == 3
        c > 3
  }
}