[DRE-commits] [berkshelf] 05/07: Run cucumber tests as well
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Tue Sep 27 15:10:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository berkshelf.
commit 4de3680533c3640d170095efa8cc9e81e63a34a3
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Tue Sep 27 18:05:52 2016 +0300
Run cucumber tests as well
---
debian/ruby-tests.rake | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index cf1591e..e9c144d 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,18 @@
require 'gem2deb/rake/spectask'
-Gem2Deb::Rake::RSpecTask.new do |spec|
+Gem2Deb::Rake::RSpecTask.new(:spec) do |spec|
spec.pattern = './spec/**/*_spec.rb'
end
+
+require 'cucumber'
+require 'cucumber/rake/task'
+Cucumber::Rake::Task.new(:features) do |t|
+ t.cucumber_opts = %W{
+ features
+ -x
+ --format progress
+ --tags ~@ignore
+ }
+end
+
+task :default => [:spec, :features]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/berkshelf.git
More information about the Pkg-ruby-extras-commits
mailing list