Swiftpack.co - Filozoff/XCTestExtension as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Filozoff.
Filozoff/XCTestExtension 0.4.2
A collection of additional assertion methods for `XCTest` framework.
⭐️ 0
🕓 3 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/Filozoff/XCTestExtension.git", from: "0.4.2")


CI Codecov Swift Platforms Swift Package Manager GitHub

The framework provides additional assertion methods like:

  • throwing Error type check
  • throwing specific Error check when it conforms to Equatable


Documentation is generated by DocC. Full documentation can be found here.


Item Minimum version
iOS 11.0
macOS 10.13
watchOS 4.0
tvOS 11.0
Swift 5.7
Xcode 14.0


Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, add XCTestExtension as a dependency to your Package.swift:

dependencies: [
    .package(url: "https://github.com/Filozoff/XCTestExtension.git", branch: "master")

and add it to you testTarget's dependencies:

targets: [
        dependencies: [

Xcode project (Swift Package Manager)

  1. Go to File->Add Packages...
  2. Paste https://github.com/Filozoff/XCTestExtension.git in "Search or Enter Package URL"
  3. Choose Dependency Rule and Project suited to you needs and go to Add Package
  4. Choose your test target under Add to Target and go to Add Package


Stars: 0
Last commit: 4 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics