Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Continuous Integration for iOS and Mac OS X usi...

Continuous Integration for iOS and Mac OS X using Atlassian Bamboo

Get your iOS tests running automatically in a simulator and then send it to testers via HockeyApp for beta testing.

See https://confluence.atlassian.com/display/BAMBOO/Xcode for usage.

James Dumay

May 16, 2013
Tweet

More Decks by James Dumay

Other Decks in Technology

Transcript

  1. Thursday, 16 May 13 * I’m James, product manager for

    Atlassian Bamboo. * I’ve been a SDD for 8 years, running Bamboo for the last 2 years.
  2. Continuous Integration for Mac and iOS Thursday, 16 May 13

    * At night, I write Mac apps. * What I am going to show you is a labour of love.
  3. What is Continuous Integration and why is it important? Thursday,

    16 May 13 * Continuous Integration is the process that runs in the background that picks up new developer changes, builds them into a executable and then runs automated tests against that executable. * If the tests fail, a developer gets a notification to fix the broken tests. * This is very useful as developers gets a good idea if their code works or not as they make changes. * How good a change is depends on how good your tests are. * Continuous Integration can also help you distribute changes to testers. * Tonight ill show you an example of how this works
  4. Apple’s lack of attention has made this more than difficult

    Thursday, 16 May 13 Its obvious that no one at apple has thought about test automation seriously This stuff breaks often. I hate that. Its my passion in life to make developers happier and more productive.
  5. This talk is all about how to automate your tests

    and deliver your app to your testers. Thursday, 16 May 13
  6. This talk is all about how to automate your tests

    and deliver your app to your testers. Automatically, using Bamboo. Thursday, 16 May 13
  7. How you can start testing for Mac OS X and

    iOS apps today Thursday, 16 May 13 Xcode comes with SentTestKit baked right in. There are many guides on the internet about testing. Not going to go into this much at all.
  8. How you can start testing for Mac OS X and

    iOS apps today Thursday, 16 May 13 Xcode comes with SentTestKit baked right in. There are many guides on the internet about testing. Not going to go into this much at all.
  9. Bamboo Xcode support 2.0 Runs pod install before every build

    Automatically detects available SDKs across all build machines Thursday, 16 May 13
  10. Bamboo Xcode support 2.0 Runs pod install before every build

    Automatically detects available SDKs across all build machines Looks for test results in the build log and tracks the results Thursday, 16 May 13
  11. Bamboo Xcode support 2.0 Runs pod install before every build

    Automatically detects available SDKs across all build machines Looks for test results in the build log and tracks the results Run your tests on the simulator Thursday, 16 May 13
  12. Bamboo Xcode support 2.0 Runs pod install before every build

    Build a ipa for distribution on HockeyApp or TestFlight Automatically detects available SDKs across all build machines Looks for test results in the build log and tracks the results Run your tests on the simulator Thursday, 16 May 13
  13. Automating interactions with ios-sim $ ios-sim launch path/to/my.app --retina --tall

    --args arg1 arg2 https://github.com/phonegap/ios-sim Thursday, 16 May 13
  14. Automating user feedback with HockeyApp API Token The ipa file

    you want to distribute to testers Thursday, 16 May 13
  15. Automating user feedback with HockeyApp API Token The ipa file

    you want to distribute to testers Notify testers that the new version is ready Thursday, 16 May 13
  16. Lets use Bamboo to put it all together Thursday, 16

    May 13 * start running automated tests * explain how bamboo works, Plans, stages, Jobs and Tasks * Show how software is tested on the sim *