DZone
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
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Culture and Methodologies
  3. Agile
  4. 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 · Tutorial
Like (2)
Save
Tweet
Share
2.24K 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

  • 2023 Software Testing Trends: A Look Ahead at the Industry's Future
  • How to Deploy Machine Learning Models on AWS Lambda Using Docker
  • Best Practices for Writing Clean and Maintainable Code
  • The Real Democratization of AI, and Why It Has to Be Closely Monitored

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • 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: