Swiftpack.co - Swift Packages by MakeAWishFoundation

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by MakeAWishFoundation

MakeAWishFoundation/SwiftyMocky 4.2.0
Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
⭐️ 994
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
4.2.0
1 year ago
## What's Changed * Bumps Sourcery dependency to 1.8.0 by @ohitsdaniel in https://github.com/MakeAWishFoundation/SwiftyMocky/pull/307 **Full Changelog**: https://github.com/MakeAWishFoundation/SwiftyMocky/compare/4.1.0...4.2.0
2 years ago
#### Added: + moved CLI to main repo (old will be deprecated) + protocol compositions (@erneestoc Ernesto Cambuston) + SwiftLint rules support (@migonin Mikhail Igonin) + cli binary in the repo + cli: resolving proper Sourcery version and binary path (mint is no longer default if Pods used) #### Fixed: * Fixed some concurrency issues * Fixed several matcher and compare issues * Fixed availability for Swift 5.5 * Fixed other basic issues and changes for Sourcery 1.6.0 * Fixed observer setup when the test is marked as async * Fixed CLI dependencies (@SergeyKovalenko Sergey Kovalenko) * Moved tests from travis to github actions
2 years ago
#### Added: + moved CLI to main repo (old will be deprecated) + protocol compositions (Ernesto Cambuston) + SwiftLint rules support (Mikhail Igonin) + cli binary in repo + cli: resolving proper Sourcery version and binary path (mint is no longer default, if Pods used) #### Fixed: * Fixed some concurrency issues * Fixed several matcher and compare issues * Fixed @availability for Swift 5.5 * Fixed other basic issues and changes for Sourcery 1.6.0 * Fixed observer setup when test is marked as async
2 years ago
#### Fixed: * Fixed concurrency issue, synchronized mock invocations in/out via private queue. * Fixed missing annotations for stubbing with producer (Jean-Charles Dessaint) * Fixed compilation of pod library for Xcode 12.5 (beta) (Emanuel Munteanu) * Conditionally import XCTest related stuff in SwiftTestObserver (Mark DiFranco)
Version 4.0.3 - fixes for Sourcery 1.0.x and other
3 years ago
#### Fixed: * Fixed issues for Sourcery 1.0.2+, resulting in broken mocks * Fixed issues with @available for methods returning values * Fixed issues with unnamed parameters handling * Updated matcher for sequences, * Fixed issue with mutating annotation breaking generated mock
Version 4.0.1 - Fixes for properties
3 years ago
**Fixed:** - Fixed issues with access modifiers for properties
Version 4.0.0 - new structure + prototyping
3 years ago
### Important: * **CLI** is extracted to separate repo #### Added: * SwiftyPrototype is now separat library, so it is now possible to use SwiftyMocky to both test & prototype (fake) app. * Support for methods with variadic parameters * Support for `@available` and `@objc` annotations * Refined assertion messages * Made it easier to ship generated mocks with project, allowing to use them by 3rd party * Resolved problem with ambiguity for generic methods that throws * Matcher issues should be more prominent and easier trackable * Matcher should fail test instead of crashing whenever possible * Verify now have better failure messages, including best matching invocations * `typealias` annotation to workaround problems with multiple types from different modules sharing same name. #### Deprecated: * all methods and properties marked previously as deprecated are now removed. #### Fixed: * Mock generation for protocols with internal types (@truebucha) * Pinned CLI dependencies (@ohitsdaniel) * Added missing tvOS and macOS support for carthage
Fix release for dependencies
4 years ago
Fix update for dependencies (Crayon was renamed to Chalk)
Version 3.4.0
4 years ago
#### Added: * New typealias "annotation", allowing to fix common issues with generic protocols and ambigious class names * A "sourcery" section to mockfile, to specify additional sourcery configurations to execute during generation * `resetMock(...)` methods to reset mock internals * New tests suite for Xcode 11.2 (Swift 5.2) #### Deprecated: * deprecated `clear()` method on `StaticMock` in favour of `resetMock(...)` #### Fixed: * Fixed Parameter ExpressibleByArrayLiteral init, by @chuckluck44 (Charley Luckhardt) * Fixed Xcode 11 support by @glyuck (Vladimir Lyukov) * Fixed typos in Readme, by @iliaskarim and @mikeakers (Mike Akers) * Fixed tests for swift 5.0 and linux tests
Version 3.3.4
4 years ago
#### Fixed: * Fixed problem with not printable ASCI characters by @TimeDelta * Fixed problem with missing generic constraints by @demalex

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