summaryrefslogtreecommitdiff
path: root/lib/tasks/spec.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/spec.rake')
-rw-r--r--lib/tasks/spec.rake13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/tasks/spec.rake b/lib/tasks/spec.rake
index b760a607f7e..49fbe1bd47a 100644
--- a/lib/tasks/spec.rake
+++ b/lib/tasks/spec.rake
@@ -1,7 +1,7 @@
Rake::Task["spec"].clear if Rake::Task.task_defined?('spec')
namespace :spec do
- desc 'GITLAB | Run feature specs'
+ desc 'GITLAB | Run request specs'
task :api do
cmds = [
%W(rake gitlab:setup),
@@ -10,11 +10,20 @@ namespace :spec do
run_commands(cmds)
end
+ desc 'GITLAB | Run feature specs'
+ task :feature do
+ cmds = [
+ %W(rake gitlab:setup),
+ %W(rspec spec --tag @feature)
+ ]
+ run_commands(cmds)
+ end
+
desc 'GITLAB | Run other specs'
task :other do
cmds = [
%W(rake gitlab:setup),
- %W(rspec spec --tag ~@api)
+ %W(rspec spec --tag ~@api --tag ~@feature)
]
run_commands(cmds)
end