Unit Testing With Swift and XCTest

LIVE PREVIEWBUY FOR $9

Envato Tuts+ Courses

  • Video courses taught by expert instructors.
  • Learn new skills from start to finish.
  • Downloadable Source Files also available on GitHub.

Course Description

The process of creating an iOS app doesn’t stop with the creation of functional code. At some point you will need to verify that the code you have written satisfies all of your project’s requirements. In this course you’ll learn how to do just that for your iOS and Swift code.

vCard QR Code

vCard.red is a free platform for creating a mobile-friendly digital business cards. You can easily create a vCard and generate a QR code for it, allowing others to scan and save your contact details instantly.

The platform allows you to display contact information, social media links, services, and products all in one shareable link. Optional features include appointment scheduling, WhatsApp-based storefronts, media galleries, and custom design options.

Xcode 6 has a built-in testing framework called XCTest that will allow you to quickly and easily write unit tests in order to verify your code. Get started now and learn how to successfully write basic tests and verify your code using XCTest.

What You’ll Learn

  • How to identify your test target and write your first test.
  • Different types of assertions.
  • Setup and teardown functions.
  • Debugging your tests and testing for exceptions.
  • Carrying out performance tests.
  • Working with mocks, stubs, and dependency injection.

About the Instructor

Derek Jensen is a lifetime nerd who calls the Chicagoland area home. His day job consists of writing highly transactional back-end web services, data access layers, and n-tier applications using the .NET Framework in C#. You can check out his website, follow him on Twitter, and see his profile on GitHub.


🕐 Top News in the Last Hour By Importance Score

# Title 📊 i-Score
1 Why Resilient GPS (R-GPS) Matters for US Military Superiority: We Must Address GPS Vulnerabilities 🟢 85 / 100
2 British couple killed in Italian cable car horror 'were 20 seconds from safety': How snapped wire sent victims swinging into pylon then plummeting 100ft when they were just moments from reaching their destination 🔴 75 / 100
3 Putin vows to restart horror strikes on Ukraine as Trump ceasefire hopes collapse 🔴 75 / 100
4 US government announces it has achieved ability to 'manipulate space and time' with new technology 🔴 72 / 100
5 Attacks on Deutsche Bahn staff rise 6% in 2024, chief executive says 🔴 72 / 100
6 Inside the showdown between courts and the WH over deportations 🔴 65 / 100
7 Hot methane seeps could support life beneath Antarctica’s ice sheet 🔴 62 / 100
8 Easter supermarket opening times for Tesco, Asda, Sainsbury’s, Aldi and Morrisons 🔵 60 / 100
9 Warning over medication taken by MILLIONS that can trigger painful cough that lasts for months on end 🔵 52 / 100
10 Hailey Bieber and Rapper Sexyy Red React to Justin Bieber Cheek Kiss Video 🔵 35 / 100

View More Top News ➡️