Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work well with other testing frameworks in test-kitchen #40

Merged
merged 2 commits into from
Feb 8, 2016

Conversation

chris-rock
Copy link
Collaborator

No description provided.

@chris-rock
Copy link
Collaborator Author

fixes #11

@chris-rock chris-rock changed the title legacy tk path support WIP: legacy tk path support Feb 4, 2016
@chris-rock
Copy link
Collaborator Author

We should add detection if the path contains directories like serverspec, busser and fallback into legacy mode only then. By default the recommended way is to use test/integration/%suitename%

@chris-rock chris-rock changed the title WIP: legacy tk path support legacy tk path support Feb 4, 2016
@chris-rock chris-rock changed the title legacy tk path support work well with other testing frameworks in test-kitchen Feb 4, 2016
@@ -132,7 +150,6 @@ def runner_options_for_ssh(config_data)
}
opts['key_files'] = kitchen[:keys] unless kitchen[:keys].nil?
opts['password'] = kitchen[:password] unless kitchen[:password].nil?

opts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to save space here, why not also drop the opts? It's the return value of the assignment anyways. And we might as well drop that assignment and just return the hash. ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, LGTM 👍

srenatus added a commit that referenced this pull request Feb 8, 2016
work well with other testing frameworks in test-kitchen
@srenatus srenatus merged commit 6973ac1 into master Feb 8, 2016
@srenatus srenatus deleted the chris-rock/legacy-tk-path branch February 8, 2016 15:59
@tas50 tas50 added Type: Enhancement Adds new functionality. and removed enhancement labels Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants