File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -139,4 +139,11 @@ def self.ruby=(ruby)
139139 metadata [ tag ] = true
140140 end
141141 end
142+
143+ config . before ( :context ) do |example |
144+ metadata = example . class . metadata
145+ if metadata [ :type ] != :aruba && metadata . keys . none? { |k | Spec ::WindowsTagGroup ::EXAMPLE_MAPPINGS . keys . include? ( k ) }
146+ warn "#{ metadata [ :file_path ] } is not assigned to any Windows runner group. see spec/support/windows_tag_group.rb for details."
147+ end
148+ end
142149end
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
3+ # This group classifies test files into 4 groups by running `bin/rspec --profile 10000`
4+ # to ensure balanced execution times. When adding new test files, it is recommended to
5+ # re-aggregate and adjust the groups to keep them balanced.
6+ # For now, please add new files to group 'windows_d'.
7+
38module Spec
49 module WindowsTagGroup
510 EXAMPLE_MAPPINGS = {
You can’t perform that action at this time.
0 commit comments