thanks Ben,
I found that autotest and autospec are running all my specs.
what I need to do is to separate the execution of spec/remote folder
from the rest of the spec files.
this folder must run after (or before) the rest.
I find a way to tell autotest to ignore this folder, by
creating .autotest file:
Autotest.add_hook(:initialize) {|at|
at.add_exception %r{^\.git}
at.add_exception %r{^./tmp}
at.clear_mappings # take out the default (test/test*rb)
at.add_mapping(%r{^lib/.*\.rb$}) {|filename, _|
Dir['spec/**/*.rb'] - Dir['spec/remote/*.rb']
}
nil
}
Is it possible to tell autotest to first run spec/remote and only
after it's done to run the rest?
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users