I have a set of RSpec tests that I want to group by the following hierarchy:
tests/ featA/ t1.rb t2.rb featB/ t3.rb
but when i started
$ rspec tests
I get the following:
rspec tests No examples were matched. Perhaps {:unless=>#<Proc: 0x00007f318919cc08@ /usr/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:51>, :if=>#<Proc: 0x00007f318919cdc0@ /usr/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:50>} is excluding everything? Finished in 0.00003 seconds 0 examples, 0 failures
I feel like I'm crazy, but there seems to be no way to get RSpec to swallow test files recursively? Does this functionality exist?
EDIT:
I have a workaround:
$ rspec `find tests -name "*.rb"`
but I suspect that I will not have to do this. I'm right?
source share