Mockingbird v0.3.0 Release Notes
Release Date: 2019-09-07 // over 4 years ago-
๐ฅ Breaking
- ๐ Improve mock initialization API for consistency between protocols and classes;
mock(SomeProtocol.self)
andmock(SomeClass.self).init(...)
Andrew Chang - โ Remove chained stubbing to simplify generated code and DSL
Andrew Chang - โ Remove multi verification of invocations with the same return type to simplify DSL
Andrew Chang
Experimental
- None
โจ Enhancements
- โ Add argument matchers to match elements or keys within collection types
Andrew Chang - โ Add simple example test case to demonstrate DSL usage
Andrew Chang - โ Remove internal use of autoclosures and
DispatchQueue
when performing stubbing and verification
Andrew Chang
๐ Bug Fixes
- ๐ Fix support for throwing and failable initializers
Andrew Chang
- ๐ Improve mock initialization API for consistency between protocols and classes;