Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Test-Driven iOS Development with Swift
Test-Driven iOS Development with Swift

Test-Driven iOS Development with Swift : Write maintainable, flexible, and extensible code using the power of TDD with Swift 5.5 , Fourth Edition

eBook
$26.99
Paperback
$33.99
Subscription
Free Trial
Renews at $12.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • Build a complete iOS app using test-driven development
  • Explore testing view controllers, table views, navigation, and network code
  • Learn how to write tests for Combine and SwiftUI code

Description

Test-driven development (TDD) is a proven way to find software bugs earlier on in software development. Writing tests before you code improves the structure and maintainability of your apps, and so using TDD in combination with Swift 5.5's improved syntax leaves you with no excuse for writing bad code. Developers working with iOS will be able to put their knowledge to work with this practical guide to TDD in iOS. This book will help you grasp the fundamentals and show you how to run TDD with Xcode. You'll learn how to test network code, navigate between different parts of the app, run asynchronous tests, and much more. Using practical, real-world examples, you'll begin with an overview of the TDD workflow and get to grips with unit testing concepts and code cycles. You'll then develop an entire iOS app using TDD while exploring different strategies for writing tests for models, view controllers, and networking code. Additionally, you'll explore how to test the user interface and business logic of iOS apps and even write tests for the network layer of the sample app. By the end of this TDD book, you'll be able to implement TDD methodologies comfortably in your day-to-day development for building scalable and robust applications.

Who is this book for?

This book is for iOS developers looking to apply TDD to build maintainable and scalable applications. Intermediate-level developers with Swift application development experience will be able to make the most out of this book. Prior experience of applying TDD to Swift applications is not required.

What you will learn

  • Implement TDD in Swift application development
  • Detect bugs before you run code using the TDD approach
  • Use TDD to build models, view controllers, and views
  • Test network code with asynchronous tests and stubs
  • Write code that s a joy to read and maintain
  • Design functional tests to suit your software requirements
  • Discover scenarios where TDD should be applied and avoided

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 18, 2022
Length: 280 pages
Edition : 4th
Language : English
ISBN-13 : 9781803246864
Vendor :
Apple
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Apr 18, 2022
Length: 280 pages
Edition : 4th
Language : English
ISBN-13 : 9781803246864
Vendor :
Apple
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$12.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$129.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$179.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 120.97
iOS 16 Programming for Beginners
$44.99
SwiftUI Cookbook
$41.99
Test-Driven iOS Development with Swift
$33.99
Total $ 120.97 Stars icon
Banner background image

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(3 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
N/A Apr 29, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
quick, easy, fast, perfect match! Thank you
Feefo Verified review Feefo
Marvin Jul 20, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Ich habe etwa ein halbes Jahr Erfahrung im Schreiben von Swift-Code, hauptsächlich mit SwiftUI, In der Vergangenheit immer mal an UIKit versucht aber dann doch abgebrochen.Ich stehe somit eher am Anfang und bis auf dass ich den Begriff "TDD" mal hier und da gehört hatte, hatte ich keinerlei Ahnung und all die Tutorials und Kurse gehen, meiner Meinung nach (jetzt, nachdem ich das Buch gelesen habe), viel zu wenig auf das Thema ein.Jetzt kann ich nachvollziehen, warum dem Author das Thema so wichtig ist. Bevor ich Tests geschrieben habe, musste ich immer manuell alles testen um sicher zu gehen, dass ich kein Feature "kaputt gemacht habe", wenn ich etwas am Code geändert habe. Mit Tests? CMD-U und man sieht sofort ob und was genau evtl. nicht mehr funktioniert, und kann es direkt fixen.Außerdem finde ich, dass der ganze Prozess, wie man an ein Feature herangeht, sich geändert hat. Alles in allem war das Buch eine super Bereicherung für meine Entwicklung und hat mir, so finde ich, als Anfänger, einiges zeigen können. Auch das die Beispiele zum großen Teil UIKit zeigen, war kein Problem, da alles super und Schritt für Schritt erklärt wurde.Ein Kritikpunkt hätte ich allerdings, evtl. sehe ich das aber nur allein so: Als Exercise sollte man das UI mit Storyboards bauen. Ich hatte keinerlei Ahnung davon. Also habe ich einige Stunden damit zugebracht diese nachzubauen, Tutorials gelesen, etc. nur um im Nachhinein doch zu sehen, dass es in den folgenden Kapiteln erklärt und Schritt für Schritt gebaut wird. Ein kleiner Hinweis wäre hier schön gewesen, es hat mich in dem Moment doch schon sehr gefrustet - im Nachhinein bin ich aber froh darum wieder etwas gelernt zu haben.Alles in allem ein super Buch, dass ich bereits auch schon weiter empfohlen habe!
Amazon Verified review Amazon
Mikaela Apr 21, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Dominik's book is very thorough and easy to understand! The examples are clear and are great for beginners just getting started with unit testing! There's even exercises for practicing the concepts learned in each chapter, which I find helpful to really drive the point home. I can't wait to apply these concepts in my personal projects and at work!Thanks Dominik!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.