Class: Minitest::Bisect::PathExpander
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
|
|
|
Instance Chain:
|
|
| Inherits: |
Minitest::VendoredPathExpander
|
| Defined in: | lib/minitest/bisect.rb |
Constant Summary
-
TEST_GLOB =
# File 'lib/minitest/bisect.rb', line 16"**/{test_*,*_test,spec_*,*_spec}.rb"
Class Method Summary
- .new(args = ARGV) ⇒ PathExpander constructor
::Minitest::VendoredPathExpander - Inherited
| .new | Create a new path expander that operates on args and expands via glob as necessary. |
Instance Attribute Summary
- #rb_flags rw
::Minitest::VendoredPathExpander - Inherited
Instance Method Summary
-
#process_flags(flags)
Overrides #process_flags to filter out ruby flags from minitest flags.
::Minitest::VendoredPathExpander - Inherited
| #expand_dirs_to_files | Takes an array of paths and returns an array of paths where all directories are expanded to all files found via the glob provided to |
| #filter_files | A file filter mechanism similar to, but not as extensive as, |
| #post_process, #pre_process, | |
| #process | Top-level method processes args. |
| #process_args | Enumerate over args passed to |
| #process_file | Process a file into more arguments. |
| #process_flags | Process over flags and treat any special ones here. |
Constructor Details
.new(args = ARGV) ⇒ PathExpander
Instance Attribute Details
#rb_flags (rw)
[ GitHub ]# File 'lib/minitest/bisect.rb', line 18
attr_accessor :rb_flags
Instance Method Details
#process_flags(flags)
Overrides #process_flags to filter out ruby flags from minitest flags. Only supports -I<paths>, -d, and -w for ruby.