Unit Testing Asynchronous Code in Swift

Vadim Bulavin
1 min readAug 5, 2019

This is a cross-post from my blog. The reason I am not posting full article on Medium is that I don’t want to give out my content to a third party. Additionally, you’ll get better reading experience with code highlight and formulae.

Learn three patterns of unit testing async code:

  • Mocking
  • Signaling
  • Test before / test after

You can read the article here.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Vadim Bulavin
Vadim Bulavin

Written by Vadim Bulavin

Senior iOS Software Engineer at Pluto TV. Creator of Yet Another Swift Blog https://www.vadimbulavin.com/. Coding for fun since 2008, for food since 2012.

No responses yet

Write a response