-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to configure spec tasks #3
Comments
Nice idea. We can expand this into a test matrix, to ease travis integration. |
Oops I used incorrect issue number in that commit. Reopening. |
I like the idea. It would also be an opportunity to let the user choose between integration and acceptance tests. I personally use acceptance tests and therefore do the following in my Rake::Task['spec'].clear
Rake::Task['spec:integration'].clear
desc 'Run all specs'
task spec: %w[ spec:unit spec:acceptance ]
namespace :spec do
desc 'Run the acceptance tests'
RSpec::Core::RakeTask.new(:acceptance) do |spec|
spec.pattern = 'spec/acceptance/*_spec.rb'
end
end |
Devtools |
So. I think it'd be nice if we could generate spec tasks based on configuration. We could have config/specs.yml with:
...by default and let devtools generate tasks based on that.
The text was updated successfully, but these errors were encountered: