mockingbird
mockingbird copied to clipboard
A Swifty mocking framework for Swift and Objective-C.
## New Issue Checklist - [x] I updated the framework and generator to the latest version - [x] I searched the [existing GitHub issues](https://github.com/birdrides/mockingbird/issues) and list of [common problems](https://mockingbirdswift.com/common-problems) ##...
Xcode Version: 12.4 Swift Version: Apple Swift version 5.3.2 I've followed the detailed installation instructions from the README.md. All commands appeared to execute successfully. A generated file exists Tests-Mocks.generated.swift Compiling...
When building my unit tests, the MockingBird build phase shell script spams the logs seemingly infinitely (or at least until Xcode seizes up) with the following warning: ``` Ignoring unknown...
This PR implements support to stubbing a throw in an async method as reported in https://github.com/birdrides/mockingbird/issues/302 It refactors AsyncMethodProtocol mock and update tests to validate disambiguation
## New Issue Checklist - [x] I updated the framework and generator to the latest version - [x] I searched the [existing GitHub issues](https://github.com/birdrides/mockingbird/issues) and list of [common problems](https://mockingbirdswift.com/common-problems) ##...
## New Feature Request Checklist - [x] I searched the [existing GitHub feature requests](https://github.com/birdrides/mockingbird/labels/enhancement) ## Overview I'm trying to setup a Swift project on Linux and the setup instructions the...
## New Issue Checklist - [x] I updated the framework and generator to the latest version - [x] I searched the [existing GitHub issues](https://github.com/birdrides/mockingbird/issues) and list of [common problems](https://mockingbirdswift.com/common-problems) ##...
## New Issue Checklist - [x] I updated the framework and generator to the latest version - [x] I searched the [existing GitHub issues](https://github.com/birdrides/mockingbird/issues) and list of [common problems](https://mockingbirdswift.com/common-problems) ##...
I have a simple extension to UIDevice that I wanted to test: public extension UIDevice { func isPad() -> Bool { return self.userInterfaceIdiom == .pad } } Mi test goes...
## New Feature Request Checklist - [x] I searched the [existing GitHub feature requests](https://github.com/birdrides/mockingbird/labels/enhancement) ## Overview Looking to use `eventually` to verify the execution of async methods: ```swift Task {...