Skip to content

Commit

Permalink
Rename 'testPlan' to 'testplan'
Browse files Browse the repository at this point in the history
  • Loading branch information
esteluk committed Feb 22, 2020
1 parent 3fbb00e commit da6b226
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scan/lib/scan/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def self.available_options
end),

# other test options
FastlaneCore::ConfigItem.new(key: :testPlan,
FastlaneCore::ConfigItem.new(key: :testplan,
env_name: "SCAN_TESTPLAN",
description: "The testplan associated with the scheme that should be used for testing",
is_string: true,
Expand Down
2 changes: 1 addition & 1 deletion scan/lib/scan/test_command_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def options # rubocop:disable Metrics/PerceivedComplexity
options << "-enableCodeCoverage #{config[:code_coverage] ? 'YES' : 'NO'}" unless config[:code_coverage].nil?
options << "-enableAddressSanitizer #{config[:address_sanitizer] ? 'YES' : 'NO'}" unless config[:address_sanitizer].nil?
options << "-enableThreadSanitizer #{config[:thread_sanitizer] ? 'YES' : 'NO'}" unless config[:thread_sanitizer].nil?
options << "-testPlan #{config[:testPlan]}" if config[:testPlan]
options << "-testPlan #{config[:testplan]}" if config[:testplan]
options << "-xctestrun '#{config[:xctestrun]}'" if config[:xctestrun]
options << config[:xcargs] if config[:xcargs]

Expand Down
2 changes: 1 addition & 1 deletion scan/spec/test_command_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@

describe "Specifying a test plan" do
before do
options = { project: "./scan/examples/standard/app.xcodeproj", testPlan: "simple" }
options = { project: "./scan/examples/standard/app.xcodeproj", testplan: "simple" }
Scan.config = FastlaneCore::Configuration.create(Scan::Options.available_options, options)
end

Expand Down

0 comments on commit da6b226

Please sign in to comment.