Mockingbird v0.2.0 Release Notes

Release Date: 2019-09-03 // over 4 years ago
  • 💥 Breaking

    • ➕ Add mockProtocol(SomeProtocol.self) and mockClass(instance: SomeClassMock()) mock initializers, replacing the previous unwrapped SomeProtocolMock() and SomeClassMock() mock initialization method.
      Andrew Chang

    Experimental

    • None

    ✨ Enhancements

    • ➕ Add new type system for parsing indirect typealiasing, tuples, collection literals, function types, and fully qualifying referenced types (by prefixing with module and scope names)
      Andrew Chang
    • ➕ Add ability to stub nested mocks using chained stubbing operator
      Andrew Chang
    • ➕ Add version command to CLI
      Andrew Chang
    • ✂ Remove generated date from generated mock file header comments
      Andrew Chang

    🐛 Bug Fixes

    • 🛠 Fix “no stubbed invocation” errors stopping tests when using XCTestCase wrappers like Quick and Nimble
      Andrew Chang