Spock Web Console

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


Published 1 year ago by Dublintech with tags Hello World in Spock
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 "Hello World introduction to Spock test"() {
    def firstWord = "Hello" 
    def secondWord = "World" 

    firstWord + " " + secondWord == "Hello World"