Merge pull request #6686 from kacperkoza/BAEL_spock_extensions
Update spock to 1.3
This commit is contained in:
commit
026459a7e6
|
@ -48,7 +48,7 @@
|
|||
</build>
|
||||
|
||||
<properties>
|
||||
<spock-core.version>1.3-RC1-groovy-2.4</spock-core.version>
|
||||
<spock-core.version>1.3-groovy-2.4</spock-core.version>
|
||||
<groovy-all.version>2.4.7</groovy-all.version>
|
||||
<gmavenplus-plugin.version>1.5</gmavenplus-plugin.version>
|
||||
</properties>
|
||||
|
|
|
@ -7,6 +7,16 @@ import spock.lang.Specification
|
|||
class IgnoreIfTest extends Specification {
|
||||
|
||||
@IgnoreIf({System.getProperty("os.name").contains("windows")})
|
||||
def "I won't run on windows"() { }
|
||||
def "I won't run on windows"() {
|
||||
expect:
|
||||
true
|
||||
}
|
||||
|
||||
@IgnoreIf({ os.isWindows() })
|
||||
def "I'm using Spock helper classes to run only on windows"() {
|
||||
expect:
|
||||
true
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -2,7 +2,10 @@ import extensions.TimeoutTest
|
|||
import spock.lang.Issue
|
||||
|
||||
runner {
|
||||
filterStackTrace true
|
||||
|
||||
if (System.getenv("FILTER_STACKTRACE") == null) {
|
||||
filterStackTrace false
|
||||
}
|
||||
|
||||
report {
|
||||
issueNamePrefix 'Bug '
|
||||
|
|
Loading…
Reference in New Issue