ios testing

22
iOS Testing Sunil Sharma Cybrilla Technologies

Upload: sunil-sharma

Post on 07-Apr-2017

265 views

Category:

Software


0 download

TRANSCRIPT

Page 1: iOS Testing

iOS Testing

Sunil SharmaCybrilla Technologies

Page 2: iOS Testing

Why iOS app Testing is

important ?

Page 3: iOS Testing

Some common bugs on iOS application

Page 4: iOS Testing

What to Test ?

Page 5: iOS Testing

How to test ?

Page 6: iOS Testing

Automated testing

Page 7: iOS Testing

Unit testing

1. Given

2. When

3. Then

Unit tests are usually composed by 3 parts

Preparation

Execution

Verification

Page 8: iOS Testing

Example

Given my bank account is in credit

When I attempt to withdraw an amount less than my

card's limit

Then the withdrawal should complete without errors or

warnings

Page 9: iOS Testing

UI Testing

1. Locate the element

2. Operate the element

3. Verify the element

UIAutomation

Page 10: iOS Testing

Example

Page 11: iOS Testing

Example

Page 12: iOS Testing

Other Automated testing frameworks

MonkeyTalk:A tool for automated testing of iOS. It is an integrated environment for managing and running test suites.

Frank: Automated Acceptance Test framework for iPhone and iPad.

KIF: KIF is an iOS integration test framework. It allows for easy automation of iOS apps by leveraging the accessibility attributes.

Page 13: iOS Testing

Manual testing

Page 14: iOS Testing

Exploratory Testing

• Determination of test cases during testing

• Involves Investigation

• Is not random testing but it is ad hoc testing with purpose of find bugs

• Tracking of issues raised during exploratory testing

Page 15: iOS Testing

User Testing

Page 16: iOS Testing

Concept testing

Page 17: iOS Testing

Concept testing

Need to have Nice to have

Page 18: iOS Testing

• Learnability

Usability testing

• Efficiency

• Memorability

• Errors

Page 19: iOS Testing

Example

Page 20: iOS Testing

Beta testing

Page 21: iOS Testing

A/B testingA/B testing is a method of comparing two versions of app against each other to determine which one performs better.

Page 22: iOS Testing

Thank you