iOS Continuous Testing
Running continuous tests for your iOS applications is crucial for maintaining high-quality standards. Appcircle offers a seamless solution for continuous testing of iOS applications, ensuring any issues are detected early and efficiently.
Running iOS Unit & UI Tests
Easily run your Unit and UI tests for iOS applications during the build process using the Xcodebuild for Unit and UI Tests step.
Example:
A development team adds the Xcodebuild for Unit and UI Tests step to their workflow in Appcircle. This step runs tests during the build process, ensuring any issues are detected early.
Creating Tests in Xcode
Create unit tests in Xcode using the XCTest framework. Tests are stored in XCTestCase subclasses and can be created using the Test Navigator.
Example:
A developer uses the Test Navigator in Xcode to create new unit tests for their iOS application. These tests use XCTAssert functions to verify the behavior of the code.
Performing Tests in Appcircle
Run your tests during the build process by adding the appropriate steps to your workflows. Ensure the steps are ordered correctly for optimal results.
Example:
A team configures their Appcircle workflow to include the Xcode Select step, followed by the Xcodebuild for Unit and UI Tests step, and finally the Export Build Artifacts step. This setup ensures all tests are run and results are collected efficiently.
Getting Test Results
Access your test results along with your build artifacts. Test results can be included in the .ipa file or the xcarchive file, depending on whether the build is signed.
Example:
A QA team downloads the test results from the Export Build Artifacts step, which includes a test.xcresult.zip file containing detailed test data.