Continuous Integration for Your Mobile App

Tom Opgenorth

Continuous Integration (CI) – the practice of automating builds and testing is a staple of modern application development. By automating the build process and running the tests on a regular basis, you improve the quality of your application and free up valuable time to concentrate on writing a better user experience.

I can has continuous integration?

Xamarin just published an entire series of guides to help you get started with your continuous integration environment, regardless of how much experience you have with CI. Our documentation will help you get up to speed on the four cornerstones of developing with CI:

  1. Learn what Continuous Integration is – For those new to continuous integration, we have a guide explaining what it is.
  2. Set up and configure a CI server – Depending on your environment (OS X or Windows), we have some guides to help you get a CI server up and running on Jenkins or TFS:
    • Our Jenkins walkthrough provides a step-by-step guide to setting up and configuring Jenkins to automate your build on OS X. Jenkins
    • If you’re using Microsoft’s Team Foundation Server (TFS), we have documents to help you set up TFS and configure it to automate your builds. Team Foundation Server
  3. Start writing test scripts with Calabash – Learn to use a great framework to create automated UI tests for Android and iOS applications.
  4. Use Xamarin Test Cloud to run your Calabash scripts on actual devices – Once you have your Calabash scripts written you can upload them to Xamarin Test Cloud, a cloud-based service that will run your scripts on real devices and provide you with feedback on those tests.

Regardless of your level of experience, by the end of these tutorials you will have a complete CI environment that resembles this diagram:

CI Workflow

Xamarin has a document to help you get your continuous integration environment up and running for whatever your needs may be. Check out the guides to get started!

Discuss this post in the Xamarin Forums


Discussion is closed.

Feedback usabilla icon