Quick v3.0.0 Release Notes
Release Date: 2020-06-08 // over 4 years ago-
๐ Quick v3 has been released! ๐ The new major version requires Swift 5.2 / Xcode 11.4 at least.
๐ฅ BREAKING CHANGES
- โฌ๏ธ Bump Swift requirement to 5.2 (Xcode 11.4 or later) #986
๐ New Features
โ
it
/fit
/xit
closures are now marked asthrows
, so you can throwError
s and the test fails if they do throw #680 (Thanks @marcelofabri)it("should fail") { try throwingFunc() }
๐ Changes
๐ Bugfixes
- Delegate
recordFailure
toQuickSpec.current
#990
Previous changes from v2.2.1
-
๐ Changes
- ๐จ [refactoring] Build examples only for classes without root example group #922 (Thanks @VojtaStavik)
- ๐ [CI] Test device builds #924
- ๐ [CI] Fix GitHub Actions breakage and restore Travis build matrix for older Xcode versions #937
- โ [CI] Run tests with newer Xcode and Swift versions #947
- โก๏ธ Update Nimble #955, #965, #982
- Enable module stability #957
- ๐ [CI] Use norio-nomura/action-swiftlint for running SwiftLint #960
- ๐ท Tweak CI #966, #979
- ๐ [SwiftLint] Enable type_name rule #967
- ๐ [SwiftLint] Enable identifier_name rule #968
- [SwiftLint] Enable function_body_length rule #969
- ๐ [SwiftLint] Enable line_length rule #970
- โก๏ธ
bundle update --bundler
&&bundle update
#971 - ๐ Fix test target dependencies #972
- โ Separate a test target for the regression test for #853 to mimic the situation in https://github.com/gzafra/QuickCrashTest #973
- [SwiftLint] Set trailing_comma's mandatory_comma option to true #974
- [CocoaPods] Use modular headers #977
- ๐ Remove unnecessary TVOS_DEPLOYMENT_TARGET build setting in Quick-iOS target #978
- โ [CI] Suppress warnings on SwiftPM tests #981
- ๐ Rename QuickSpecBase module to QuickObjCRuntime for SwiftPM on Darwin #984
๐ Bugfixes
- โ Added empty default flags to xdescribe and xcontext #944 (Thanks @pobengtsson)
- ๐ Fixes race conditions in QuickConfiguration #952 (Thanks @anton-plebanovich)
- โก๏ธ Update the Objective-C QuickSpec template to use modules (semantic import) #953 (Thanks @KeithMorning)
- ๐ Fix to support indirect subclasses of QuickConfiguration #975
- ๐ Fix focus behavior #980
๐ Documentation Changes
- ๐ Fix typo in Configuration.swift for "Mulitple" #927 (Thanks @denniszxxc)
- ๐ Fix typo in GitHub issue template #930 (Thanks @revolter)
- ๐ Fix typos in Contributing documentation file #931 (Thanks @revolter)
- Migration swift 4.0 or later for Shared Examples. #946 (Thanks @kanari3)
- ๐ Fix sample code in SharedExamples.md #948
- ๐ Fix Xcode documentation link of how to create xcworkspace #954