0.19.0: Night Owl #262
andrewchang-bird
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Targets
Framework
Generator
Migrating from 0.18
Re-configure SwiftPM projects
Mockingbird 0.19 improves support and guidance for setting up SwiftPM projects and packages. Previously, setting up a SwiftPM test target would use a path relative to
$HOME
for the generator executable, which wasn’t portable between development environments. If you use SwiftPM, you should consider re-configuring test targets with the newconfigure
command to apply the fixes in 0.19.Switch to the configure command
The
install
anddownload
commands have been replaced withconfigure
, which is a superset of the old commands but is not backwards compatible. Most workflows should be unaffected as these commands are only used to initially set up a project, not to generate mocks. See the Configure Command Options documentation for more information.New Features
Configurator
Mockingbird now provides a streamlined configurator to improve the setup process for all package managers, especially SwiftPM. It supports referencing executables located in the project’s default derived data directory and advanced features like generating mocks for source targets located in another project with the
--srcproject
option. Supporting source files are also automatically downloaded and managed when running the configurator, making it even easier to set up projects for the first time.Revamped Documentation
The README, wiki, and API reference are now unified and available at MockingbirdSwift.com which is powered by DocC, Apple’s fancy documentation compiler tool. The new site is better organized and prettier, but more importantly it’ll be much more searchable once Google finishes indexing it. The example projects have also been streamlined and include a new SwiftPM package example.
Enhancements
Andrew Chang | jdschin
Andrew Chang | Jonathan Ueki
nil
values on Objective-C mocks implicitly bridging toNSNull
([7/y] Fix stubbing nil values in Obj-C mocks #246)Andrew Chang | molenick-mov | Bohdan Orlov
Any?
([9/y] Fix nested optional codegen #248)Andrew Chang | Bohdan Orlov
Andrew Chang | Muzammil Mahmood
Andrew Chang | Luke
Andrew Chang
Andrew Chang
Andrew Chang
This discussion was created from the release 0.19.0: Night Owl.
Beta Was this translation helpful? Give feedback.
All reactions