Skip to content

Commit

Permalink
updated cucumber version to '2.3.1' and selenide version to'4.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
GannaChernyshova committed Mar 5, 2018
1 parent 52aeecd commit 85630d5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
13 changes: 6 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,18 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

project.ext {
cucumberVersion = '1.2.5'
cucumberVersion = '2.3.1'
selenideVersion = '4.10'
}

dependencies {
compile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
compile group: 'org.codehaus.groovy', name: 'groovy', version: '2.4.8'
compile group: 'org.reflections', name: 'reflections', version: '0.9.10'
compile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.codeborne', name: 'selenide', version: '4.8'
compile group: 'info.cukes', name: 'cucumber-java', version: cucumberVersion
compile group: 'info.cukes', name: 'cucumber-core', version: cucumberVersion
compile group: 'com.codeborne', name: 'selenide', version: selenideVersion
compile group: 'io.cucumber', name: 'cucumber-java', version: cucumberVersion
compile group: 'io.cucumber', name: 'cucumber-core', version: cucumberVersion
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.21'
compile group: 'org.projectlombok', name: 'lombok', version: '1.16.10'
compile group: 'io.rest-assured', name: 'rest-assured', version: '3.0.2'
Expand Down Expand Up @@ -92,12 +93,10 @@ publishing {
}
}


ext {
bintrayUserName = (project.hasProperty('BINTRAY_USERNAME') ? project.findProperty('BINTRAY_USERNAME') : System.getenv()['BINTRAY_USERNAME'])
bintrayPassword = (project.hasProperty('BINTRAY_PASSWORD') ? project.findProperty('BINTRAY_PASSWORD') : System.getenv()['BINTRAY_PASSWORD'])
bintrayRepository = (project.hasProperty('BINTRAY_REPOSITORY') ? project.findProperty('BINTRAY_REPOSITORY') : System.getenv()['BINTRAY_REPOSITORY'])

}

bintray {
Expand Down Expand Up @@ -146,7 +145,7 @@ jacocoTestReport {
reports {
xml.enabled true
csv.enabled true
html.destination "${buildDir}/jacocoHtml"
html.destination file("${buildDir}/jacocoHtml")
}
}

Expand Down
15 changes: 14 additions & 1 deletion src/test/java/ru/alfabank/StubScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
*/
package ru.alfabank;

import cucumber.api.Result;
import cucumber.api.Scenario;

import java.util.Collection;
import java.util.List;

public class StubScenario implements Scenario {
@Override
Expand All @@ -26,10 +28,11 @@ public Collection<String> getSourceTagNames() {
}

@Override
public String getStatus() {
public Result.Type getStatus() {
return null;
}


@Override
public boolean isFailed() {
return false;
Expand All @@ -54,4 +57,14 @@ public String getName() {
public String getId() {
return null;
}

@Override
public String getUri() {
return null;
}

@Override
public List<Integer> getLines() {
return null;
}
}

0 comments on commit 85630d5

Please sign in to comment.