-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing from pure deprecated to DeprecatedIn. Enable yaml and json f…
…or helm detection (#45) * Changing from pure deprecated to deprecatedIn * Fixing static files functional tests * Updating README with new output * Fix helm3 functional tests * Adding cli validation test. Updating helm2 * Review suggestion. Also make output flag available on all detection types
- Loading branch information
Andrew Suderman
authored
Apr 17, 2020
1 parent
7f7808a
commit e8c636d
Showing
16 changed files
with
290 additions
and
118 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: "2" | ||
name: "CLI Validation" | ||
testcases: | ||
- name: Pass bad semver with no v | ||
steps: | ||
- script: pluto detect-files -d assets/deprecated116 -t "foo" | ||
assertions: | ||
- result.code ShouldEqual 2 | ||
- result.systemout ShouldEqual "Your --target-version must begin with a 'v'. Got 'foo'" | ||
- name: Pass bad semver starting with v | ||
steps: | ||
- script: pluto detect-files -d assets/deprecated116 -t "vfoo" | ||
assertions: | ||
- result.code ShouldEqual 2 | ||
- result.systemout ShouldEqual "You must pass a valid semver to --target-version. Got 'vfoo'" |
File renamed without changes.
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
Oops, something went wrong.