Method: RSpec::Core::Configuration#filter_run_excluding
- Defined in:
- lib/rspec/core/configuration.rb
#filter_run_excluding(*args) ⇒ void
Adds key/value pairs to the exclusion_filter
. If args
includes any symbols that are not part of the hash, each symbol
is treated as a key in the hash with the value true
.
Note
Filters set using this method can be overridden from the command line
or config files (e.g. .rspec
).
1349 1350 1351 1352 1353 |
# File 'lib/rspec/core/configuration.rb', line 1349 def filter_run_excluding(*args) = Metadata.build_hash_from(args, :warn_about_example_group_filtering) filter_manager.exclude_with_low_priority static_config_filter_manager.exclude_with_low_priority Metadata.deep_hash_dup() end |