Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-08-13 09:32:10 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-08-13 09:32:10 +0400
commit463644c8827a6015d9a3669e64ff04683d9f1c3d (patch)
tree35a531a04bcca7b350f02611b712644ab25af4fc /lib
parent28ddc152e932ae64f2a3a2247de8e0f45299da9c (diff)
rspec to capybara-webkit. simplercov now use cucumber
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/dev/tests.rake10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/tasks/dev/tests.rake b/lib/tasks/dev/tests.rake
new file mode 100644
index 00000000000..f91320ebdd2
--- /dev/null
+++ b/lib/tasks/dev/tests.rake
@@ -0,0 +1,10 @@
+namespace :dev do
+ desc "DEV | Run cucumber and rspec"
+ task :tests do
+ ["cucumber", "rspec spec"].each do |cmd|
+ puts "Starting to run #{cmd}..."
+ system("bundle exec #{cmd}")
+ raise "#{cmd} failed!" unless $?.exitstatus == 0
+ end
+ end
+end