Sha256: 6dfd18c39337903c494a67a863ebd99193657709bfa39d284229ca7f329babeb

Contents?: true

Size: 537 Bytes

Versions: 79

Compression:

Stored size: 537 Bytes

Contents

@Grab('org.spockframework:spock-core:1.0-groovy-2.4')
import spock.lang.*

class HelloWorldSpec extends Specification {

    @Shared
    def hello = new HelloWorld()

    def 'outputs "Hello, World!"'() {
        expect: hello.hello() == 'Hello, World!'
    }

    @Ignore
    def 'outputs "Hello, Alice!" when given the name "Alice"'() {
        expect: hello.hello('Alice') == 'Hello, Alice!'
    }

    @Ignore
    def 'outputs "Hello, Bob!" when given the name "Bob"'() {
        expect: hello.hello('Bob') == 'Hello, Bob!'
    }

}

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
trackler-2.0.7.0 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.44 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.43 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.42 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.41 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.40 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.39 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.38 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.37 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.36 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.35 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.34 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.33 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.32 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.31 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.30 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.29 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.28 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.27 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy
trackler-2.0.6.26 tracks/groovy/exercises/hello-world/HelloWorldSpec.groovy