Spock Web Console

subscribe to the feed Subscribe
Abstract spec demo (via #spockwebconsole)
tweet this script Tweet

Abstract spec demo

Published 2 years ago by Nick Bensema
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

abstract class AbstractSpec extends Specification {
    def setup() {
        println "Logging in"
        println "Switch to designer window"
    abstract void selectProject()

class MyFirstOOSpec extends AbstractSpec {
  void selectProject() {
    println "Select project for test"
  def "Test text boxes"() {
        99 == 99
  def "Test radio bu"() {
        1 == 1