Spock Web Console

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

as

Published 4 months ago by as with tags as
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 setup() {
   println 'seatup'
  }          

  def cleanup() {
   println 'cleanup'
  }        

  def "let's try this!"() {
    expect:
    Math.max(1, 2) == 2
  }

  def "let's try thaa!"() {
    expect:
        1+2=3
  }
}