Skip to content

Commit

Permalink
Prepare release 6.18.0 (#421)
Browse files Browse the repository at this point in the history
Co-authored-by: Prashant Ramcharan <[email protected]>
  • Loading branch information
prashant-ramcharan and Prashant Ramcharan authored Nov 10, 2024
1 parent 8757650 commit 67938dc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
CHANGES IN VERSION 6.18.0
=================================
* [FIX] Don't rerun failed tests when rerun attempts is set to 0
* [MAINTENANCE] Upgrade to Cucumber version 7.20.1

CHANGES IN VERSION 6.17.0
=================================
* [FIX] NullPointerException when resolving classpath feature URIs
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.github.prashant-ramcharan'
version '6.17.0'
version '6.18.0'

apply plugin: 'java'
apply plugin: 'maven-publish'
Expand All @@ -12,7 +12,7 @@ compileJava {
}

ext {
cucumberVersion = '7.19.0'
cucumberVersion = '7.20.1'
testNGVersion = '7.9.0'
jacksonVersion = '2.17.0'
httpcomponentsVersion = '4.5.13'
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/courgette/runtime/CourgetteProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ public boolean isMultipleMobileDeviceTypes() {
return courgetteOptions.mobileDeviceType().equals(MobileDeviceType.SIMULATOR_AND_REAL_DEVICE);
}

public boolean isRerunEnabled() {
return courgetteOptions.rerunFailedScenarios() && courgetteOptions.rerunAttempts() > 0;
}

public CourgetteSlackOptions slackOptions() {
return new CourgetteSlackOptions(courgetteOptions.slackWebhookUrl(),
Arrays.asList(courgetteOptions.slackChannel()),
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/courgette/runtime/CourgetteRunnerInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public CourgetteRunnerInfo(CourgetteProperties courgetteProperties, Feature feat
this.courgetteReportOptions = new CourgetteReportOptions(feature, lineId, courgetteProperties);
this.courgetteRuntimeOptions = new CourgetteRuntimeOptions(courgetteProperties, courgetteReportOptions, feature);
this.courgetteRunLevel = courgetteProperties.getCourgetteOptions().runLevel();
this.rerun = courgetteProperties.getCourgetteOptions().rerunFailedScenarios() &&
this.rerun = courgetteProperties.isRerunEnabled() &&
checkRerunCondition(feature,
courgetteProperties.getCourgetteOptions().excludeFeatureFromRerun(),
courgetteProperties.getCourgetteOptions().excludeTagFromRerun());
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/report/templates/index.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@
<div class="col-sm-7">
Cucumber Version:
</div>
<div>7.19.0</div>
<div>7.20.1</div>
</div>
<div class="row mt-4">
<div class="col-sm-7">
Courgette Version:
</div>
<div>6.17.0</div>
<div>6.18.0</div>
</div>
<div class="row mt-4">
<div><a href class="col-sm-9" data-toggle="modal" data-target="#environment_info">Additional
Expand Down

0 comments on commit 67938dc

Please sign in to comment.