Skip to content

Commit

Permalink
Updated serenity core and JBehave dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Jun 2, 2015
1 parent 396ca40 commit 28a4e9b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
14 changes: 9 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ext {
if (!project.hasProperty("bintrayApiKey")) {
bintrayApiKey = ''
}
serenityCoreVersion = '1.0.48'
serenityCoreVersion = '1.0.49'

if (!project.hasProperty("bintrayApiKey")) {
bintrayApiKey = ''
Expand All @@ -68,7 +68,7 @@ test {
exclude '**/*$*'
exclude '**/samples/**'
exclude '**/*Sample*'
// maxParallelForks = 4
maxParallelForks = 4
testLogging {
exceptionFormat = 'full'
}
Expand Down Expand Up @@ -109,12 +109,12 @@ dependencies {

compile 'com.thoughtworks.xstream:xstream:1.4.5'

compile('org.jbehave:jbehave-core:3.9.5') {
compile('org.jbehave:jbehave-core:3.10') {
exclude group: 'org.freemarker', module: 'freemarker'
exclude group: 'com.thoughtworks.xstream', module: 'xstream'
}

compile('de.codecentric:jbehave-junit-runner:1.1.0') {
compile('de.codecentric:jbehave-junit-runner:1.2.0') {
exclude group: 'org.mockito', module: 'mockito-core'
}
compile('org.reflections:reflections:0.9.8') {
Expand All @@ -136,8 +136,12 @@ dependencies {
}
testCompile ("net.serenity-bdd:serenity-test-utils:${project.serenityCoreVersion}") {
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'org.jbehave', module: 'jbehave-core'
}
testCompile("net.serenity-bdd:serenity-sample-alternative-resources:${project.serenityCoreVersion}") {
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'org.jbehave', module: 'jbehave-core'
}
testCompile("net.serenity-bdd:serenity-sample-alternative-resources:${project.serenityCoreVersion}")
testCompile ('org.mockito:mockito-core:1.10.19') {
exclude group: 'org.hamcrest', module:'hamcrest-core'
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/net/serenitybdd/jbehave/SerenityReporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,11 @@ public void failedOutcomes(String s, OutcomesTable outcomesTable) {
public void restarted(String s, Throwable throwable) {
}

@Override
public void restartedStory(Story story, Throwable cause) {

}

public void dryRun() {
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/stories/aDataDrivenBehavior.story
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Examples:
|STK2|13.0|5.0|OFF|
|STK2|14.0|11.0|ON|
|STK2|15.0|12.0|ON|
|STK2|65.0|12.0|ON|
|STK2|65.0|12gi.0|ON|

0 comments on commit 28a4e9b

Please sign in to comment.