Skip to main content

Writing Your First Set of Unit Tests with Xcode

  • Chapter
  • First Online:
iOS Code Testing
  • 1304 Accesses

Abstract

In this chapter you will download Xcode and learn to use it to create a simple app using test-driven development techniques. The app you will build will use the Single View Application template and allow the user to create different types of cookies by tapping on buttons in the user interface. The app will present a running total of each type of cookie created as well as the total number of cookies created.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Abhishek Mishra

About this chapter

Cite this chapter

Mishra, A. (2017). Writing Your First Set of Unit Tests with Xcode. In: iOS Code Testing. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2689-6_2

Download citation

Publish with us

Policies and ethics