Questions tagged [fastlane-scan]

9 questions
3
votes
1 answer

How to abort Fastlane Scan tests when first UITest fails

Basically what I need is to stop the UITests when the first one fails. I'm using Jenkins with Fastlane Scan. I have the option to continue after failure disabled (but it only prevents this specific test to continue): override func setUp() { ... …
brduca
  • 3,573
  • 2
  • 22
  • 30
2
votes
1 answer

fastlane scan for multiple simulator

When I run Fastlane scan for one simulator device in devices it shows the number of test and failures properly. But when I add extra device in devices of Scanfile. Then number of test show 0. Adding screenshot for the…
Aashish
  • 49
  • 4
1
vote
0 answers

Is there a way to have Fastlane scan output as json?

Running this: fastlane scan --workspace "MyWorkspace.xcworkspace" --scheme "UITests" --device "iPhone 8 Plus" --testplan "MyTestPlan" --output_directory "~/Desktop/TestLogs/" I get an html and JUnit reports. As per scan documentation there should…
1
vote
1 answer

IDECoverageReportGenerationErrorDomain when generating CodeCoverage for project

I'm having some issues with the xcodebuild command and was hoping to see if anybody has experienced similar issues. I'm using fastlane scan for testing and having it create the codecoverage as well, this will generate code coverage info in the…
Paul Peelen
  • 10,073
  • 15
  • 85
  • 168
1
vote
2 answers

How to output link to gitlab job for Fastlane Scan Results in Slack

Is there a way to create a link to the gitlab job that ran when outputting the result of a Fastlane Scan to Slack? I want to have a link from within the Slack results to the gitlab job that ran.
reutsey
  • 1,743
  • 1
  • 17
  • 36
1
vote
1 answer

How to set COMPILER_INDEX_STORE_ENABLE=NO using fastlane scan?

From fastlane scan documentation xcconfig Use an extra XCCONFIG file to build your app How do you change COMPILER_INDEX_STORE_ENABLE=NO?
Ted
  • 22,696
  • 11
  • 95
  • 109
1
vote
0 answers

Fastlane scan returns error No test bundle product for testingSpecifier

I’m trying to run my project's Unit Test cases on my current project but when I run the command: fastlane scan It returns this error message: xcodebuild: error: Failed to build workspace TruDoc24x7 with scheme TruDoc24x7CI. Reason : No test…
Mohamed Shaban
  • 2,263
  • 1
  • 15
  • 23
1
vote
1 answer

Specifying number of test devices when doing parallel testing using fastlane scan

I haven't been able to get more than 2 concurrent simulator test devices when testing iOS apps using "fastlane scan". Doing this "manually" using only xcodebuild works, something like this. This would fire up at most 4 devices: xcodebuild -workspace…
Jonny
  • 15,955
  • 18
  • 111
  • 232
0
votes
1 answer

Batch UI tests in Xcode

I'd like to batch UI tests (right now, I guess unit tests would be useful some time) Neither Xcode UI tests nor "fastlane scan" seem to have any inherent support for this as of now. Is there a good and simple approach? Situation I need to test a…
Jonny
  • 15,955
  • 18
  • 111
  • 232