Skip to content

Commit c843473

Browse files
committed
Show path if xctestrun missing when running test
1 parent c517adf commit c843473

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fastlane/Fastfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,9 @@ lane :test_without_building do |options|
10441044
e.include?(options[:name])
10451045
end.first
10461046

1047-
UI.user_error!('Unable to find .xctestrun file') unless !xctestrun_path.nil? && File.exist?((xctestrun_path))
1047+
unless !xctestrun_path.nil? && File.exist?((xctestrun_path))
1048+
UI.user_error!("Unable to find .xctestrun file at #{xctestrun_path}")
1049+
end
10481050

10491051
run_tests(
10501052
workspace: 'WooCommerce.xcworkspace',

0 commit comments

Comments
 (0)