[DRE-commits] [test-kitchen] 37/39: Use @ignore tag to disable cucumber tests
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Fri Aug 5 12:46:53 UTC 2016
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 61a6705a68825ee80242c1c9d86ee99d5b7c58b0
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Fri Aug 5 15:39:38 2016 +0300
Use @ignore tag to disable cucumber tests
---
.../0001-Do-not-run-test-for-winrm-transport.patch | 30 +++++----------------
debian/patches/0011-Disable-networked-tests.patch | 31 +++++++++++-----------
2 files changed, 22 insertions(+), 39 deletions(-)
diff --git a/debian/patches/0001-Do-not-run-test-for-winrm-transport.patch b/debian/patches/0001-Do-not-run-test-for-winrm-transport.patch
index 9483958..13b64e0 100644
--- a/debian/patches/0001-Do-not-run-test-for-winrm-transport.patch
+++ b/debian/patches/0001-Do-not-run-test-for-winrm-transport.patch
@@ -3,36 +3,20 @@ Date: Mon, 29 Jun 2015 20:31:56 +0300
Subject: Do not run test for winrm transport
---
- features/kitchen_defaults.feature | 17 -----------------
- spec/kitchen/transport/winrm_spec.rb | 3 ++-
- 2 files changed, 2 insertions(+), 18 deletions(-)
+ features/kitchen_defaults.feature | 1 +
+ spec/kitchen/transport/winrm_spec.rb | 3 ++-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/features/kitchen_defaults.feature b/features/kitchen_defaults.feature
-index f0c1c32..dda98a8 100644
+index f0c1c32..6fc6049 100644
--- a/features/kitchen_defaults.feature
+++ b/features/kitchen_defaults.feature
-@@ -3,23 +3,6 @@ Feature: Test Kitchen defaults
+@@ -3,6 +3,7 @@ Feature: Test Kitchen defaults
As a user of Test Kitchen
I want to have some common defaults handled for me
-- Scenario: Windows platforms get the Winrm Transport by default
-- Given a file named ".kitchen.yml" with:
-- """
-- ---
-- driver: dummy
-- provisioner: dummy
-- verifier: dummy
--
-- platforms:
-- - name: win-8.1
--
-- suites:
-- - name: default
-- """
-- When I successfully run `kitchen list`
-- Then the output should match /^default-win-81\s+Dummy\s+Dummy\s+Dummy\s+Winrm\s+\<Not Created\>$/
--
- Scenario: Non-Windows platforms get the Ssh Transport by default
++ @ignore
+ Scenario: Windows platforms get the Winrm Transport by default
Given a file named ".kitchen.yml" with:
"""
diff --git a/spec/kitchen/transport/winrm_spec.rb b/spec/kitchen/transport/winrm_spec.rb
diff --git a/debian/patches/0011-Disable-networked-tests.patch b/debian/patches/0011-Disable-networked-tests.patch
index 471c39c..64f8c4e 100644
--- a/debian/patches/0011-Disable-networked-tests.patch
+++ b/debian/patches/0011-Disable-networked-tests.patch
@@ -3,25 +3,24 @@ Date: Thu, 9 Jul 2015 17:46:21 +0300
Subject: Disable networked tests
---
- features/kitchen_driver_discover_command.feature | 11 -----------
- 1 file changed, 11 deletions(-)
+ features/kitchen_driver_discover_command.feature | 2 ++
+ 1 file changed, 2 insertions(+)
diff --git a/features/kitchen_driver_discover_command.feature b/features/kitchen_driver_discover_command.feature
-index 58b7488..d7741a2 100644
+index 58b7488..1c8289c 100644
--- a/features/kitchen_driver_discover_command.feature
+++ b/features/kitchen_driver_discover_command.feature
-@@ -12,14 +12,3 @@ Feature: Search RubyGems to discover new Test Kitchen Driver gems
- kitchen driver discover
+@@ -13,11 +13,13 @@ Feature: Search RubyGems to discover new Test Kitchen Driver gems
"""
And the exit status should be 0
--
-- Scenario: Running driver discover returns live results
-- When I run `kitchen driver discover`
-- Then the exit status should be 0
-- And the output should contain "kitchen-bluebox"
--
-- Scenario: Running driver discover with the --chef-config-path parameter loads the chef config
-- Given an empty file named "kitchen_client.rb"
-- When I run `kitchen driver discover --chef-config-path=kitchen_client.rb`
-- Then the exit status should be 0
-- And the output should contain "kitchen-bluebox"
+
++ @ignore
+ Scenario: Running driver discover returns live results
+ When I run `kitchen driver discover`
+ Then the exit status should be 0
+ And the output should contain "kitchen-bluebox"
+
++ @ignore
+ Scenario: Running driver discover with the --chef-config-path parameter loads the chef config
+ Given an empty file named "kitchen_client.rb"
+ When I run `kitchen driver discover --chef-config-path=kitchen_client.rb`
--
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