9
Getting Started With iOS App Testing by Martin Poschenrieder CEO and Founder testmunk July 13th, 2015 Twitter: @mposchenrieder Presentation For Students At Portnov QA School

Getting Started With iOS Mobile App Testing

Embed Size (px)

Citation preview

Getting Started With iOS App Testing

by Martin Poschenrieder CEO and Founder testmunk

July 13th, 2015

Twitter: @mposchenrieder

Presentation For Students At Portnov QA School

Twitter: @mposchenrieder

Which tool does the iOS developer use to code iOS apps?

Xcode

(Can be downloaded from the App Store)

Twitter: @mposchenrieder

Sample iOS app

• Github: https://github.com/testmunk/TMSample

Twitter: @mposchenrieder

Developer account / Provisioning profiles

• If you want to release iOS apps, you need an Apple developer account: https://developer.apple.com/

• You need to ‘provision’ your test device in the developer console.

• Provisioning profile: A provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iPhone Development Team and enables a device to be used for testing.

Twitter: @mposchenrieder

Reference: https://developer.streamezzo.com/tools/publish-your-application-apple-app-

store

iOS Provisioning Portal

Twitter: @mposchenrieder

What should I know about Continuous Integration• What is Continuous Integration: Continuous Integration (CI) is a

development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early. (Reference: Thoughtworks)

• Jenkins, Travis, Circle CI

• You can use APIs such as testmunk to directly execute your test cases on real devices. Read more here: http://docs.testmunk.com/en/latest/rest.html#continuous-integration

Detour

Twitter: @mposchenrieder

Quiz• What’s the file type of an app? Android: .apk and on iOS = ?

• Can you use the same iOS app file for both the simulator and devices?

• Can someone just send you an app file and you can immediately install it on your phone? What are some of the steps you must take?

• A developer wants to get some more info about specific elements on the app -> Which tool can you use to identify the element?

• What are the benefits of Continuous Integration?

Twitter: @mposchenrieder

What you should know about xcode from a tester perspective

• How to build an .ipa file for a device / for a simulator —> There are different files!

• How to select and build for different simulators

• How to create a test target

• What the “accessibility inspector” is (Simulator -> Settings app)

• How to get device logs (Xcode -> Window -> Devices)

Twitter: @mposchenrieder

Contact

Martin Poschenrieder

Twitter: mposchenrieder