Spock Web Console

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

WarSpec

Published 2 months ago by Eric
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
package war

import spock.lang.Specification

class WarSpec extends Specification {
    def "Play Game"() {
        expect: "Play the game!"
        game()
    }

    def game() {
        // game here!
    }
}