DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > Successful TDD on iOS

Successful TDD on iOS

There are so many challenges to getting test driven development right. Check out this video that discusses the highlights.

Paul Zabelin user avatar by
Paul Zabelin
·
Nov. 28, 15 · Mobile Zone · Tutorial
Like (2)
Save
Tweet
2.14K Views

Join the DZone community and get the full member experience.

Join For Free

TDD on iOS is hard, but could be successful.

Here is the video from AltConf 2015 presentation we made with Glen Tregoning

Successful Test-Driven Development on iOS

Test Driven Development on iOS has presented some challenges due to lack of tools and support from Apple. This talks is how to achieve TDD and BDD on iOS:

  • continuous integration Jenkins, Xcode bots
  • break down and parallelize builds
  • setup simulator with preset state
  • Facebook, Permissions
  • Unit Spec, App Specs, Acceptance Tests
  • Fakes, Mocks
  • Stub network calls for tests
  • Test data modeling
  • Running backend locally for tests
  • Image comparison to assert on expected look
  • Recommending tooling to help overcome the challenges of Apple’s limited support
  • Kiwi
  • KIF
  • KIF-Kiwi
  • xctool
  • Swift
  • Swift to ObjC bridging
Test-driven development

Published at DZone with permission of Paul Zabelin. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • When Microservices Are a Bad Idea
  • Automatically Creating Microservices Architecture Diagrams
  • Exploring a Paradigm Shift for Relational Database Schema Changes
  • Externalize Microservice Configuration With Spring Cloud Config

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo