[DRE-commits] [test-kitchen] 08/09: Run cucumber tests
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Thu Jul 9 16:20:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository test-kitchen.
commit 0d9c8f70c53e5e99d1c77a2f71a61d8c94a61feb
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Wed Jul 8 13:23:22 2015 +0300
Run cucumber tests
---
debian/control | 6 +++++-
debian/ruby-tests.rake | 18 +++++++++++++++---
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index c58cf54..a8b386b 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,11 @@ Build-Depends: debhelper (>= 7.0.50~),
ruby-thor (>= 0.18),
ruby-fakefs (>= 0.4),
ruby-minitest (>= 5.3),
- ruby-mocha (>= 1.1)
+ ruby-mocha (>= 1.1),
+ cucumber,
+ ruby-aruba (>= 0.5),
+ pry,
+ git
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/test-kitchen.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/test-kitchen.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index bcdb614..8466353 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,4 +1,16 @@
-require 'gem2deb/rake/testtask'
-Gem2Deb::Rake::TestTask.new do |t|
- t.test_files = FileList['spec/**/*_spec.rb']
+require "rake/testtask"
+Rake::TestTask.new(:unit) do |t|
+ t.libs.delete 'lib'
+ t.test_files = FileList["spec/**/*_spec.rb"]
+ t.verbose = true
end
+
+
+require "cucumber"
+require "cucumber/rake/task"
+Cucumber::Rake::Task.new(:features) do |t|
+ t.libs.delete 'lib'
+ t.cucumber_opts = ["features", "-x", "--format progress"]
+end
+
+task :default => [:unit, :features]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/test-kitchen.git
More information about the Pkg-ruby-extras-commits
mailing list