Releases: Quick/Quick
Releases · Quick/Quick
v7.6.2
v7.6.1
What's Changed
- Bump rexml from 3.2.6 to 3.2.8 by @dependabot in #1284
- Updated closures in QuickSpec to be annotated with MainActor by @CraigSiemens in #1289
Full Changelog: v7.6.0...v7.6.1
7.6.0 - QuickLint
Highlights
- Add QuickLint, a CLI tool & Xcode plugin to detect focus specs and remove the focus.
- Async DSL: Marks the async version of
sharedExamplesas unavailable. Previously,sharedExampleswould just not be found, and this clarifies thatsharedExamplesis intentionally unavailable in the async DSL.
Automated Changelog
What's Changed
- Bump rake from 13.1.0 to 13.2.1 by @dependabot in #1281
- named the context param aContext to match the actual protocol by @Noobish1 in #1283
- Add QuickLint, a CLI tool to detect focused specs, and optionally remove the focus. by @younata in #1280
New Contributors
Full Changelog: v7.5.0...v7.6.0
v7.5.0 - Pending tests are now marked as Skipped in Xcode
Highlights
- Any tests which are pended-out (using
pending,xdescribe,xcontext,xitBehavesLike, orxit), OR tests which are skipped because they are not focused (that is, the other tests when you usefdescribe,fcontext,fitBehavesLikeorfit) are now marked as skipped in Xcode.
Automated Changelog
- Bump softprops/action-gh-release from 1 to 2 by @dependabot in #1274
- Mark tested which are pended-out or not focused as skipped. by @younata in #1276
Full Changelog: v7.4.1...v7.5.0
v7.4.1
What's Changed
- Bump cocoapods from 1.14.3 to 1.15.0 by @dependabot in #1265
- Corrected typo in document by @regi93 in #1267
- Bump cocoapods from 1.15.0 to 1.15.2 by @dependabot in #1269
- Respect XCTSkip and StopTest errors in beforeEach, afterEach and aroundEach by @younata in #1273
New Contributors
- @regi93 made their first contribution in #1267
Full Changelog: v7.4.0...v7.4.1
v7.4.0 - visionOS support
Highlights
- Quick now supports visionOS! Thanks @stonko1994!
Autogenerated Release Notes
What's Changed
- Release script should auto-update local ruby dependencies by @younata in #1263
- Add visionOS support by @stonko1994 in #1249
New Contributors
- @stonko1994 made their first contribution in #1249
Full Changelog: v7.3.1...v7.4.0
v7.3.1
Highlights
- Fixes a crash in AsyncSpec caused by race condition when unsetting AsyncSpec.current.
Autogenerated Release Notes
What's Changed
- Bump danger from 9.3.1 to 9.3.2 by @dependabot in #1243
- Bump cocoapods from 1.12.1 to 1.13.0 by @dependabot in #1244
- Bump fkirc/skip-duplicate-actions from 5.3.0 to 5.3.1 by @dependabot in #1245
- Bump cocoapods from 1.13.0 to 1.14.2 by @dependabot in #1247
- Bump rake from 13.0.6 to 13.1.0 by @dependabot in #1248
- Consolidate Quick-macOS, Quick-iOS and Quick-tvOS into a single Quick target by @younata in #1222
- Bump danger from 9.3.2 to 9.4.1 by @dependabot in #1254
- Bump danger from 9.4.1 to 9.4.2 by @dependabot in #1257
- Bump cocoapods from 1.14.2 to 1.14.3 by @dependabot in #1252
- Build carthage artifacts as a github action. by @younata in #1259
- Add a privacy manifest by @younata in #1260
- Fix crash in AsyncSpec when using TestState by @younata in #1261
Full Changelog: v7.3.0...v7.3.1
v7.3.0
Highlights
- Adds a property wrapper default initializer for TestState. Meaning the following declaration is now accepted!
@TestState var foo: Int! = 30Thanks @tahirmt!
- TestState now nils out the value after all afterEach blocks run, instead of in the middle of the afterEach chain. Thanks @CraigSiemens
What's Changed
- Bump activesupport from 7.0.4.3 to 7.0.7.2 by @dependabot in #1238
- Add property wrapper default initializer for TestState by @tahirmt in #1235
- Bump actions/checkout from 3 to 4 by @dependabot in #1241
- Updated TestState to remove the value after the test. by @CraigSiemens in #1240
- Update release script to generate a carthage binary and include it in the release. by @younata in #1234
New Contributors
Full Changelog: v7.2.0...v7.3.0
v7.2.0 - TestState property wrapper
Highlight
You can now use the @TestState property wrapper to automatically deconstruct test variables. For example:
describe("using TestState") {
@TestState var subject: SomeObject?
}Is functionally equivalent to:
describe("using TestState") {
var subject: SomeObject?
afterEach {
subject = nil
}
}You can also specify an initial value, and TestState will act as an aroundEach: setting the wrapped variable to the value, then setting it to nil at test teardown.
describe("using TestState") {
@TestState(1) var value: Int?
it("is already configured") {
expect(value).to(equal(1))
}
}Thanks @CraigSiemens for their contribution!
Automated Release Notes
What's Changed
- Added a TestState property wrapper, again :D by @CraigSiemens in #1233
Full Changelog: v7.1.0...v7.2.0
v7.1.0
Highlights
New Features
- You can now use
throwinbeforeEach,justBeforeEach, andafterEachblocks. - Quick now suggests to XCTest that tests run in the order they are defined in.
Fixes
beforeEachblocks specified in configurations are now run in AsyncSpec tests.xitBehavesLike(_ name: String)is now available inQuickSpecandBehavior.
Autogenerated ChangeLog
What's Changed
- Bump danger from 9.3.0 to 9.3.1 by @dependabot in #1224
- Ensure beforeEach in Configuration run for AsyncSpec by @junmo-kim in #1228
- Allow beforeEach, justBeforeEach, and afterEach in Swift to throw by @younata in #1229
- Improve documentation for installing Quick and Nimble via Cocoapods in the README. by @younata in #1231
- Make a public xitBehavesLike(_ name: String) for SyncDSLUser by @younata in #1230
- Attempt to run tests within a QuickSpec or AsyncSpec in the order they are defined in by @younata in #1232
New Contributors
- @junmo-kim made their first contribution in #1228
Full Changelog: v7.0.2...v7.1.0