Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Continuous Delivery for Mobile with fastlane

You're reading from   Continuous Delivery for Mobile with fastlane Automating mobile application development and deployment for iOS and Android

Arrow left icon
Product type Paperback
Published in Feb 2018
Publisher Packt
ISBN-13 9781788398510
Length 346 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Doron Katz Doron Katz
Author Profile Icon Doron Katz
Doron Katz
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Introduction to fastlane and Continuous Delivery 2. Setting Up fastlane and Our Sample Project FREE CHAPTER 3. Manage Provisioning Profiles with sigh 4. Manage Code Signing Certificates with cert 5. Sync Profiles and Certificates with match 6. Manage Push Notification Profiles with pem 7. Creating Our iOS and Android Apps with produce and supply 8. Build and Package Apps for the App Store with gym 9. Distribute to Testers with TestFlight and Crashlytics 10. Review Your App Metadata with precheck 11. Taking Localized Screenshots with snapshot 12. Put Our Screenshots Inside Frames with frameit 13. Upload Screenshots and Metadata with deliver 14. Automate Unit Tests with scan 15. Integrating Git into the fastlane Workflow 16. Creating and Using fastlane Action Plugins 17. Integrating Slack into the fastlane Workflow 18. Continuous Delivery Best Practices 19. Configurations, Tools, and Resources 20. Other Books You May Enjoy

Introducing scan

scan, alias for the run_tests action (https://docs.fastlane.tools/actions/run_tests/) automates the process of running tests, and while you can certainly run tests via Xcode, as we have demonstrated in the preceding section, it isn't something you will want to do manually, especially as you take note of all the many test suites we have already. Apple also provides a command-line way of running test scripts, using xcodebuild:

xcodebuild \
  -workspace MyApp.xcworkspace \
  -scheme "MyApp" \
  -sdk iphonesimulator \
  -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.1' \
  test

With scan, we can conduct our testing using one command, fastlane scan, which wraps the previous command into a pretty-formatted output of the results when run via the command line, as well as outputting the results in HTML and JUnit formats. The major...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image