Spock Web Console

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

rud

Published 3 years ago by muk
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:
    Something.doThis() == 4;
  }
}
class Something {
    public static Integer doThis()
    {
        return 4;
    }
}