Displaying 1 result from an estimated 1 matches for "my_test_dir".
2008 May 27
8
new --pattern option
...ectory and in all
subdirectories and not only from directory and subdirectories given to spec
as a parameter.
So, for example, I have something like this:
.\some_file.rb (which I don''t want to load)
.\some_dir\some_other_dir\some_other_files.rb (I don''t want to load these
also)
.\my_test_dir (has many subdirs and rb files in it - I want to load all .rb
files from THIS dir)
now, I execute rspec like this: spec -p **/*.rb my_test_dir (and having
working directory . of course).
Now I get some errors and things (some of them need input parameters and so
on) from the files I did not want...