Spock Web Console

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

MyFirstTestCase

Published 6 months ago by shanmugaganesh with tags hello_groovy
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 "My First Test case!"() {
    expect:
    1+1 == 2
  }
}