Skip to content

Upgrade Nimble... or replace in favor of Swift Testing? #19079

Closed
@mokagio

Description

@mokagio

Yesterday, I wanted to replace an XCTNSPredicateExpectation usage with a faster Nimble toEventually matcher but I run into some issues adding Nimble to the UITestsFoundation framework via CocoaPods.

This seems like the perfect occasion to:


Update 2024/11 – I updated the issue title to "Upgrade Nimble... or replace in favor of Swift Testing?" I love Nimble and I think it offers much better API for async code testing than XCTest. But how does it stack against Swift Testing? Would it make sense to invest in adopting Swift Testing (which can run alongside XCTest) and drop Nimble? Would any of the code we assert using Nimble need to be updated as well (e.g. to use async?) to ease the migration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions