This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #309 from acrmp/lcg/avoid-recommends-suggests-meta…
…data add warnings for use of recommends/suggests
- Loading branch information
Showing
5 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
features/052_check_for_metadata_using_suggests_keyword.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Feature: Check for metadata using suggests keyword | ||
|
||
In order to ensure that recipe metadata is stable | ||
As a developer | ||
I want to identify metadata that is using unimplemented features whose definitions may change in the future | ||
|
||
Scenario: Metadata with the suggests keyword | ||
Given a cookbook with metadata that includes a suggests keyword | ||
When I check the cookbook | ||
Then the metadata using suggests warning 052 should be shown against the metadata file | ||
|
||
Scenario: Metadata without the suggests keyword | ||
Given a cookbook with metadata that does not include a suggests keyword | ||
When I check the cookbook | ||
Then the metadata using suggests warning 052 should be not shown against the metadata file |
15 changes: 15 additions & 0 deletions
15
features/053_check_for_metadata_using_recommends_keyword.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Feature: Check for metadata using recommends keyword | ||
|
||
In order to ensure that recipe metadata is stable | ||
As a developer | ||
I want to identify metadata that is using unimplemented features whose definitions may change in the future | ||
|
||
Scenario: Metadata with the recommends keyword | ||
Given a cookbook with metadata that includes a recommends keyword | ||
When I check the cookbook | ||
Then the metadata using recommends warning 053 should be shown against the metadata file | ||
|
||
Scenario: Metadata without the recommends keyword | ||
Given a cookbook with metadata that does not include a recommends keyword | ||
When I check the cookbook | ||
Then the metadata using recommends warning 053 should be not shown against the metadata file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters