Monday, February 12, 2024
HomeiOS Developmentunit testing - Is there any strategy to run UITests with out...

unit testing – Is there any strategy to run UITests with out launching iOS Simulator


I’ve been looking for an answer to run UI Checks for iOS initiatives with out launching the iOS Simulator. My intention is to run xcodebuild command from Terminal for CI pipeline however with out launching the iOS Simulator.

I’m utilizing under command to run UI take a look at suite for my iOS venture, this works advantageous however launches the iOS Simulator
xcodebuild take a look at -project iOSTesting.xcodeproj -scheme 'iOSTestingUnitTests' -destination 'platform=iOS Simulator,identify=iPhone 15 Professional' -destination 'platform=iOS Simulator,identify=iPhone 15'

I used to be capable of finding an answer on GitHub the place the UI Checks run with out launching the iOS Simulator, however I’m not capable of learn the way it’s working, right here is the hyperlink to the supply code.
https://github.com/Shashikant86/Xcode9-XCTest

Any ideas?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments