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