-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scenario grouping with Rules (#877)
* Fix scenario grouping with Rules Updated the scenario detection logic when grouping by scenarios so that it can handle test that are nested under Rules. * Update CHANGELOG Added the scenario grouping Rule fix to the change log. * Fix Rubocop violations Fixed Rubocop violations introduced in the recent commits. * Add development dependencies to gemspec Moving some gems that are definitely needed to develop and test the gem into their proper section of the gemspec instead of them only existing in the development gemfile. * Test against various dependency versions in CI Updated the CI matrix so that the gem is tested against several different versions of its potential runtime dependencies. * Ignore some IDE files Ignoring Jetbrains IDE files. * Fix CI gemfile isues Fixing the paths to the gemspec and the Rubocop task not even having a gemfile specified. * Fix Rubocop violations Fixed Rubocop violations introduced in the recent commits. * Exclude bad CI combinations Not testing against some incompatible dependency combinations. * Fix typo in CI config Fixed a copy/paste mistake. * Fix another typo in CI config Fixed another copy/paste mistake. * Update minimum supported CukeModeler version Removing CukeModeler 2.x from CI testing because this gem requires at least CukeModeler 3.x. * Handle Cucumber Rules better Added a condition to some Rule logic so that older versions of CukeModeler that don't use Rules will still work. * Fix Rubocop violations Fixed Rubocop violations that are showing up in the newer version of Rubocop that is being used in CI. * Fix a test Fixed a test that was using an unreliable way of determining the root directory of the repository. * Remove Cucumber 3 from CI tests Not testing against Cucumber 3 because it has lots of failures and I don't know if it is even officially supported by this gem anymore. * Fix more Rubocop violations Fixed more Rubocop violations that are showing up in the newer version of Rubocop that is being used in CI. * Make a test conditional Not running a test for versions of dependencies for which it is not applicable. * Re-lock dependencies Locking down Cucumber and CukeModeler to their previous version limits because there are lots of test failures in CI for versions that I don't know if this gem even supports.
- Loading branch information
Showing
17 changed files
with
139 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
tmp | ||
.bundle | ||
**/vendor/bundle | ||
/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
source 'https://rubygems.org' | ||
gemspec path: "../" | ||
|
||
gem 'bump' | ||
gem 'test-unit' | ||
gem 'minitest', '~> 5.5.0' | ||
gem 'spinach', git: "https://github.com/grosser/spinach.git", branch: "grosser/json" # https://github.com/codegram/spinach/pull/229 | ||
|
||
# The version of Cucumber being tested | ||
gem 'cucumber', '~> 4.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
source 'https://rubygems.org' | ||
gemspec path: "../" | ||
|
||
gem 'bump' | ||
gem 'test-unit' | ||
gem 'minitest', '~> 5.5.0' | ||
gem 'spinach', git: "https://github.com/grosser/spinach.git", branch: "grosser/json" # https://github.com/codegram/spinach/pull/229 | ||
|
||
# The version of CukeModeler being tested | ||
gem 'cuke_modeler', '~> 3.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
source 'https://rubygems.org' | ||
gemspec path: "../" | ||
|
||
gem 'bump' | ||
gem 'test-unit' | ||
gem 'minitest', '~> 5.5.0' | ||
gem 'spinach', git: "https://github.com/grosser/spinach.git", branch: "grosser/json" # https://github.com/codegram/spinach/pull/229 | ||
|
||
# The version of CukeModeler being tested | ||
gem 'cuke_modeler', '3.0.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters