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

supports keyword marks tests as skipped instead of removing them #620

Merged
merged 1 commit into from
Apr 6, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Apr 6, 2016

Instead of just removing tests, go for proper skipping via the supports keyword in inspec.yml. This will ensure that tests don't move into limbo.

Requires https://github.com/chef/inspec/pull/619/files to be merged.

@arlimus arlimus changed the title supports keyword should skip REBASE supports keyword should skip Apr 6, 2016
Instead of just removing all tests because of OS support, supports now acts by adding all tests to the execution context, but doesnt actually execute them. Instead tests are set to skip before they get to the actual execution context
@chris-rock chris-rock changed the title REBASE supports keyword should skip supports keyword should skip Apr 6, 2016
@chris-rock
Copy link
Contributor

fixes #354

@chris-rock
Copy link
Contributor

Cool Thanks @arlimus 👍

@chris-rock chris-rock merged commit d64d9db into master Apr 6, 2016
@chris-rock chris-rock deleted the dr/supports_skips branch April 6, 2016 09:57
@arlimus arlimus added the Type: Enhancement Improves an existing feature label Apr 9, 2016
@arlimus arlimus changed the title supports keyword should skip supports keyword marks tests as skipped instead of removing them Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants