---
title: "Discussion on \"Three bad ways to test async code in Swift with Nimble and XCTest\" | Hashnode"
description: "Discussion on \"Three bad ways to test async code in Swift with Nimble and XCTest\". Part 1. The problem\nI am an iOS developer. And I love cats tests. Sometimes they love me back but recently with Swift Concurrency coming into my life, our relations went downhill.\nThe project is in limbo between the past and the future. Meaning we do..."
url: "https://hashnode.com/posts/three-bad-ways-to-test-async-code-in-swift-with-nimble-and-xctest/64ac42944e699c8fb5cfc899"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Three bad ways to test async code in Swift with Nimble and XCTest](https://pavelstepanov.hashnode.dev/three-bad-ways-to-test-async-code-in-swift-with-nimble-and-xctest?utm_source=hashnode&utm_medium=feed)

Part 1. The problem I am an iOS developer. And I love cats tests. Sometimes they love me back but recently with Swift Concurrency coming into my life, our relations went downhill. The project is in limbo between the past and the future. Meaning we do...

Jul 10, 2023 · 10 min read · pavelstepanov.hashnode.dev  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#testing](https://hashnode.com/tag/testing)
-   [#swift](https://hashnode.com/tag/swift)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#async](https://hashnode.com/tag/async)

## Written by

[Pavel Stepanov](https://hashnode.com/@dyrkabes)

@dyrkabes · Hamburg, DE

  
[View profile](https://hashnode.com/@dyrkabes)

iOS Developer @ Tomorrow

I am an iOS developer developing the best-rated banking app in Germany from before it went beta 🇩🇪 I focus on all the aspects of software engineering, from writing good code to developing scalable architectures to enhancing UX and other not-so-much-code-related things. I also put a lot of attention to establishing communication flows and creating a great atmosphere. One of my other focuses is providing a constant flow of cats and memes all over the place. I think in this part I succeeded the most.

## Responses 1

Markdown supported · ⌘↵ to post

[Pritesh Usadadiya](https://hashnode.com/@priteshusadadiya)

[Jul 13, 2023](https://hashnode.com/posts/three-bad-ways-to-test-async-code-in-swift-with-nimble-and-xctest/64ac42944e699c8fb5cfc899/comment/64afee4a731f7770529ca59b)

\[\[..Pingback..\]\] This article was curated as a part of [#94th Issue of Software Testing Notes Newsletter.](https://softwaretestingnotes.substack.com/p/issue-94-software-testing-notes) Web: [softwaretestingnotes.com](https://softwaretestingnotes.com/)

[Pavel Stepanov](https://hashnode.com/@dyrkabes)

[Jul 14, 2023](https://hashnode.com/posts/three-bad-ways-to-test-async-code-in-swift-with-nimble-and-xctest/64ac42944e699c8fb5cfc899/comment/64afee4a731f7770529ca59b#reply-64b1026bcce44f7fef1da34e)

Nice, thanks for including in the newsletter, appreciate it. Btw, it's a nice curated compilation you have there :)
