-
Notifications
You must be signed in to change notification settings - Fork 13
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 #4 from liaogz82/feature/check-writable
check for non-existent folder
- Loading branch information
Showing
7 changed files
with
32 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Fastlane | ||
module Lizard | ||
VERSION = "0.1.1" | ||
VERSION = "0.1.2" | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
## TODO: | ||
# 1) set show_warnings to true, expect sh_control_output | ||
# 2) set show_warnings to default, no output | ||
describe Fastlane::Actions::LizardAction do | ||
describe 'write to non-existent folder' do | ||
it 'fails with user error' do | ||
expect do | ||
Fastlane::FastFile.new.parse("lane :test do | ||
lizard( | ||
source_folder: 'lib', | ||
export_type: 'xml', | ||
report_file: 'no-such-folder/lizard-report.xml') | ||
end").runner.execute(:test) | ||
end.to raise_error("Please ensure no-such-folder/lizard-report.xml is writable") | ||
end | ||
end | ||
end |