From fda86648edf8aca654fb8e1917e77ca206f8045e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 09:40:26 +0000 Subject: [PATCH 1/6] Bump cocoapods from 1.14.3 to 1.15.0 Bumps [cocoapods](https://github.com/CocoaPods/CocoaPods) from 1.14.3 to 1.15.0. - [Release notes](https://github.com/CocoaPods/CocoaPods/releases) - [Changelog](https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md) - [Commits](https://github.com/CocoaPods/CocoaPods/compare/1.14.3...1.15.0) --- updated-dependencies: - dependency-name: cocoapods dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Gemfile b/Gemfile index 4491ba7fd..02e7e8c22 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -gem 'cocoapods', '~> 1.14' +gem 'cocoapods', '~> 1.15' gem 'danger' gem 'rake' gem 'xcpretty' diff --git a/Gemfile.lock b/Gemfile.lock index 177a4b65f..85c889ca3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ GEM specs: CFPropertyList (3.0.6) rexml - activesupport (7.1.2) + activesupport (7.1.3) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -20,16 +20,16 @@ GEM json (>= 1.5.1) atomos (0.1.3) base64 (0.2.0) - bigdecimal (3.1.5) + bigdecimal (3.1.6) claide (1.1.0) claide-plugins (0.9.2) cork nap open4 (~> 1.3) - cocoapods (1.14.3) + cocoapods (1.15.0) addressable (~> 2.8) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.14.3) + cocoapods-core (= 1.15.0) cocoapods-deintegrate (>= 1.0.3, < 2.0) cocoapods-downloader (>= 2.1, < 3.0) cocoapods-plugins (>= 1.0.0, < 2.0) @@ -44,7 +44,7 @@ GEM nap (~> 1.0) ruby-macho (>= 2.3.0, < 3.0) xcodeproj (>= 1.23.0, < 2.0) - cocoapods-core (1.14.3) + cocoapods-core (1.15.0) activesupport (>= 5.0, < 8) addressable (~> 2.8) algoliasearch (~> 1.0) @@ -64,7 +64,7 @@ GEM netrc (~> 0.11) cocoapods-try (1.2.0) colored2 (3.1.2) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) connection_pool (2.4.1) cork (0.3.0) colored2 (~> 3.1) @@ -108,7 +108,7 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - minitest (5.20.0) + minitest (5.21.2) molinillo (0.8.0) mutex_m (0.2.0) nanaimo (0.3.0) @@ -136,7 +136,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) - xcodeproj (1.23.0) + xcodeproj (1.24.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) @@ -150,7 +150,7 @@ PLATFORMS ruby DEPENDENCIES - cocoapods (~> 1.14) + cocoapods (~> 1.15) danger rake xcpretty From 2a90a840899e5afd27cfc426bb687b0eb1637e95 Mon Sep 17 00:00:00 2001 From: JY Date: Fri, 2 Feb 2024 11:10:22 +0900 Subject: [PATCH 2/6] Corrected typos in Korean documents --- Documentation/ko-kr/SettingUpYourXcodeProject.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ko-kr/SettingUpYourXcodeProject.md b/Documentation/ko-kr/SettingUpYourXcodeProject.md index 518e5fa26..aa6fec7ea 100644 --- a/Documentation/ko-kr/SettingUpYourXcodeProject.md +++ b/Documentation/ko-kr/SettingUpYourXcodeProject.md @@ -24,7 +24,7 @@ class MyClassTests: XCTestCase { } ``` -> Xcode Test Navigator의 Quick과의 통합에는 몇 가지 제약 사항이 있습니다. (open [issue](https://github.com/Quick/Quick/issues/219)). Quick 테스트는 실행될 때까지 내이게이터에 표시되지 않을 것이며, 반복 실행은 예측할 수 없는 방향으로 목록을 재설정하는 경향이 있으며, 테스트는 소스 코드 옆에 표시되지 않습니다. +> Xcode Test Navigator의 Quick과의 통합에는 몇 가지 제약 사항이 있습니다. (open [issue](https://github.com/Quick/Quick/issues/219)). Quick 테스트는 실행될 때까지 내비게이터에 표시되지 않을 것이며, 반복 실행은 예측할 수 없는 방향으로 목록을 재설정하는 경향이 있으며, 테스트는 소스 코드 옆에 표시되지 않습니다. > 레이더를 Apple에 제출하고, Apple 엔지니어에게 이 기능 요구를 홍보하기 위해 [rdar://26152293](http://openradar.appspot.com/radar?id=4974047628623872)을 언급하세요. > 일부 개발자는 Swift 소스 파일을 test target으로 추가할 것을 권장합니다. From 4b14413b7dc35e90531a97732aa0db1a3f76a08d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:41:54 +0000 Subject: [PATCH 3/6] Bump cocoapods from 1.15.0 to 1.15.2 Bumps [cocoapods](https://github.com/CocoaPods/CocoaPods) from 1.15.0 to 1.15.2. - [Release notes](https://github.com/CocoaPods/CocoaPods/releases) - [Changelog](https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md) - [Commits](https://github.com/CocoaPods/CocoaPods/compare/1.15.0...1.15.2) --- updated-dependencies: - dependency-name: cocoapods dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 85c889ca3..9889faaa4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -26,10 +26,10 @@ GEM cork nap open4 (~> 1.3) - cocoapods (1.15.0) + cocoapods (1.15.2) addressable (~> 2.8) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.15.0) + cocoapods-core (= 1.15.2) cocoapods-deintegrate (>= 1.0.3, < 2.0) cocoapods-downloader (>= 2.1, < 3.0) cocoapods-plugins (>= 1.0.0, < 2.0) @@ -44,7 +44,7 @@ GEM nap (~> 1.0) ruby-macho (>= 2.3.0, < 3.0) xcodeproj (>= 1.23.0, < 2.0) - cocoapods-core (1.15.0) + cocoapods-core (1.15.2) activesupport (>= 5.0, < 8) addressable (~> 2.8) algoliasearch (~> 1.0) @@ -108,7 +108,7 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - minitest (5.21.2) + minitest (5.22.2) molinillo (0.8.0) mutex_m (0.2.0) nanaimo (0.3.0) From 5360a55fe8eb716e2acacee680aad6d9347cbfbc Mon Sep 17 00:00:00 2001 From: Rachel Brindle Date: Wed, 6 Mar 2024 21:03:52 -0800 Subject: [PATCH 4/6] Respect XCTSkip and StopTest errors in beforeEach, afterEach and aroundEach --- Sources/Quick/Examples/AsyncExample.swift | 22 +++-- Sources/Quick/Examples/Example.swift | 22 +++-- .../FunctionalTests/AfterEachTests.swift | 96 +++++++++++++++++++ .../Async/AfterEachAsyncTests.swift | 96 +++++++++++++++++++ .../Async/BeforeEachAsyncTests.swift | 93 ++++++++++++++++++ .../FunctionalTests/BeforeEachTests.swift | 93 ++++++++++++++++++ 6 files changed, 404 insertions(+), 18 deletions(-) diff --git a/Sources/Quick/Examples/AsyncExample.swift b/Sources/Quick/Examples/AsyncExample.swift index f109799a3..2b198d008 100644 --- a/Sources/Quick/Examples/AsyncExample.swift +++ b/Sources/Quick/Examples/AsyncExample.swift @@ -54,13 +54,7 @@ public class AsyncExample: ExampleBase { do { try await closure() } catch { - if let stopTestError = error as? StopTest { - self.reportStoppedTest(stopTestError) - } else if let testSkippedError = error as? XCTSkip { - self.reportSkippedTest(testSkippedError, name: name, callsite: callsite) - } else { - self.reportFailedTest(error, name: name, callsite: callsite) - } + self.handleErrorInTest(error, name: name, callsite: callsite) } self.group!.phase = .aftersExecuting @@ -74,7 +68,7 @@ public class AsyncExample: ExampleBase { do { try await closure() } catch { - self.reportFailedTest(error, name: name, callsite: callsite) + self.handleErrorInTest(error, name: name, callsite: callsite) cancelTests = true } } @@ -92,7 +86,7 @@ public class AsyncExample: ExampleBase { do { try await wrappedExample() } catch { - self.reportFailedTest(error, name: name, callsite: callsite) + self.handleErrorInTest(error, name: name, callsite: callsite) } @@ -125,6 +119,16 @@ public class AsyncExample: ExampleBase { static internal let recordSkipSelector = NSSelectorFromString("recordSkipWithDescription:sourceCodeContext:") #endif + internal func handleErrorInTest(_ error: Error, name: String, callsite: Callsite) { + if let stopTestError = error as? StopTest { + self.reportStoppedTest(stopTestError) + } else if let testSkippedError = error as? XCTSkip { + self.reportSkippedTest(testSkippedError, name: name, callsite: callsite) + } else { + self.reportFailedTest(error, name: name, callsite: callsite) + } + } + internal func reportSkippedTest(_ testSkippedError: XCTSkip, name: String, callsite: Callsite) { #if !canImport(Darwin) return // This functionality is only supported by Apple's proprietary XCTest, not by swift-corelibs-xctest diff --git a/Sources/Quick/Examples/Example.swift b/Sources/Quick/Examples/Example.swift index 3a20a34ad..4fe5bdd2b 100644 --- a/Sources/Quick/Examples/Example.swift +++ b/Sources/Quick/Examples/Example.swift @@ -107,13 +107,7 @@ public class Example: ExampleBase { do { try closure() } catch { - if let stopTestError = error as? StopTest { - self.reportStoppedTest(stopTestError) - } else if let testSkippedError = error as? XCTSkip { - self.reportSkippedTest(testSkippedError, name: name, callsite: callsite) - } else { - self.reportFailedTest(error, name: name, callsite: callsite) - } + self.handleErrorInTest(error, name: name, callsite: callsite) } self.group!.phase = .aftersExecuting @@ -127,7 +121,7 @@ public class Example: ExampleBase { do { try closure() } catch { - self.reportFailedTest(error, name: name, callsite: callsite) + self.handleErrorInTest(error, name: name, callsite: callsite) cancelTests = true } } @@ -145,7 +139,7 @@ public class Example: ExampleBase { do { try wrappedExample() } catch { - self.reportFailedTest(error, name: name, callsite: callsite) + self.handleErrorInTest(error, name: name, callsite: callsite) } group!.phase = .aftersFinished @@ -175,6 +169,16 @@ public class Example: ExampleBase { static internal let recordSkipSelector = NSSelectorFromString("recordSkipWithDescription:sourceCodeContext:") #endif + internal func handleErrorInTest(_ error: Error, name: String, callsite: Callsite) { + if let stopTestError = error as? StopTest { + self.reportStoppedTest(stopTestError) + } else if let testSkippedError = error as? XCTSkip { + self.reportSkippedTest(testSkippedError, name: name, callsite: callsite) + } else { + self.reportFailedTest(error, name: name, callsite: callsite) + } + } + internal func reportSkippedTest(_ testSkippedError: XCTSkip, name: String, callsite: Callsite) { #if !canImport(Darwin) return // This functionality is only supported by Apple's proprietary XCTest, not by swift-corelibs-xctest diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift index 9c5dd4939..9db2982b6 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift @@ -15,6 +15,7 @@ private var afterEachOrder = [AfterEachType]() private enum ThrowingAfterEachType: String, CustomStringConvertible { case outerOne + case outerTwo case innerOne case innerTwo case innerThree @@ -104,11 +105,75 @@ class FunctionalTests_AfterEachSpec: QuickSpec { } } +private var skippingAfterEachOrder = [ThrowingAfterEachType]() + +class FunctionalTests_AfterEachSkippingSpec: QuickSpec { + override class func spec() { + describe("skipping tests") { + afterEach { + if isRunningFunctionalTests { + throw XCTSkip() + } + } + + afterEach { + skippingAfterEachOrder.append(.outerTwo) + } + + it("skips this test's afterEach") { + skippingAfterEachOrder.append(.outerOne) + } + } + } +} + +private var stoppingAfterEachOrder = [ThrowingAfterEachType]() + +class FunctionalTests_AfterEachStoppingSpec: QuickSpec { + override class func spec() { + describe("stopping tests") { + context("silently stopping") { + afterEach { + if isRunningFunctionalTests { + throw StopTest.silently + } + } + + afterEach { + stoppingAfterEachOrder.append(.outerTwo) + } + + it("supports silently stopping tests") { + stoppingAfterEachOrder.append(.outerOne) + } + } + + context("stopping tests with expected tests") { + afterEach { + if isRunningFunctionalTests { + throw StopTest("some error") + } + } + + afterEach { + stoppingAfterEachOrder.append(.outerTwo) + } + + it("supports stopping tests with an error message") { + stoppingAfterEachOrder.append(.outerOne) + } + } + } + } +} + final class AfterEachTests: XCTestCase, XCTestCaseProvider { static var allTests: [(String, (AfterEachTests) -> () throws -> Void)] { return [ ("testAfterEachIsExecutedInTheCorrectOrder", testAfterEachIsExecutedInTheCorrectOrder), ("testAfterEachWhenThrowingStopsRunningAdditionalAfterEachs", testAfterEachWhenThrowingStopsRunningAdditionalAfterEachs), + ("testSkippingExamplesAreCorrectlyReported", testSkippingExamplesAreCorrectlyReported), + ("testStoppingExamplesAreCorrectlyReported", testStoppingExamplesAreCorrectlyReported), ] } @@ -153,4 +218,35 @@ final class AfterEachTests: XCTestCase, XCTestCaseProvider { expectedOrder ) } + + func testSkippingExamplesAreCorrectlyReported() { + skippingAfterEachOrder = [] + + let result = qck_runSpec(FunctionalTests_AfterEachSkippingSpec.self)! + XCTAssertTrue(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 1) + XCTAssertEqual(result.skipCount, 1) + XCTAssertEqual(result.totalFailureCount, 0) + + XCTAssertEqual( + skippingAfterEachOrder, + [.outerOne, .outerTwo] // it runs the test, and continues running the subsequent afterEachs + ) + } + + func testStoppingExamplesAreCorrectlyReported() { + stoppingAfterEachOrder = [] + + let result = qck_runSpec(FunctionalTests_AfterEachStoppingSpec.self)! + XCTAssertFalse(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 2) + XCTAssertEqual(result.failureCount, 1) + XCTAssertEqual(result.unexpectedExceptionCount, 0) + XCTAssertEqual(result.totalFailureCount, 1) + + XCTAssertEqual( + stoppingAfterEachOrder, + [.outerOne, .outerTwo, .outerOne, .outerTwo] // it continues running subsequent afterEachs + ) + } } diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift index d226b8330..cdf8aac5a 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift @@ -15,6 +15,7 @@ private var afterEachOrder = [AfterEachType]() private enum ThrowingAfterEachType: String, CustomStringConvertible { case outerOne + case outerTwo case innerOne case innerTwo case innerThree @@ -104,11 +105,75 @@ class FunctionalTests_AfterEachAsyncSpec: AsyncSpec { } } +private var skippingAfterEachOrder = [ThrowingAfterEachType]() + +class FunctionalTests_AfterEachSkippingAsyncSpec: QuickSpec { + override class func spec() { + describe("skipping tests") { + afterEach { + if isRunningFunctionalTests { + throw XCTSkip() + } + } + + afterEach { + skippingAfterEachOrder.append(.outerTwo) + } + + it("skips this test's afterEach") { + skippingAfterEachOrder.append(.outerOne) + } + } + } +} + +private var stoppingAfterEachOrder = [ThrowingAfterEachType]() + +class FunctionalTests_AfterEachStoppingAsyncSpec: QuickSpec { + override class func spec() { + describe("stopping tests") { + context("silently stopping") { + afterEach { + if isRunningFunctionalTests { + throw StopTest.silently + } + } + + afterEach { + stoppingAfterEachOrder.append(.outerTwo) + } + + it("supports silently stopping tests") { + stoppingAfterEachOrder.append(.outerOne) + } + } + + context("stopping tests with expected tests") { + afterEach { + if isRunningFunctionalTests { + throw StopTest("some error") + } + } + + afterEach { + stoppingAfterEachOrder.append(.outerTwo) + } + + it("supports stopping tests with an error message") { + stoppingAfterEachOrder.append(.outerOne) + } + } + } + } +} + final class AfterEachAsyncTests: XCTestCase, XCTestCaseProvider { static var allTests: [(String, (AfterEachAsyncTests) -> () throws -> Void)] { return [ ("testAfterEachIsExecutedInTheCorrectOrder", testAfterEachIsExecutedInTheCorrectOrder), ("testAfterEachWhenThrowingStopsRunningAdditionalAfterEachs", testAfterEachWhenThrowingStopsRunningAdditionalAfterEachs), + ("testSkippingExamplesAreCorrectlyReported", testSkippingExamplesAreCorrectlyReported), + ("testStoppingExamplesAreCorrectlyReported", testStoppingExamplesAreCorrectlyReported), ] } @@ -153,4 +218,35 @@ final class AfterEachAsyncTests: XCTestCase, XCTestCaseProvider { expectedOrder ) } + + func testSkippingExamplesAreCorrectlyReported() { + skippingAfterEachOrder = [] + + let result = qck_runSpec(FunctionalTests_AfterEachSkippingAsyncSpec.self)! + XCTAssertTrue(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 1) + XCTAssertEqual(result.skipCount, 1) + XCTAssertEqual(result.totalFailureCount, 0) + + XCTAssertEqual( + skippingAfterEachOrder, + [.outerOne, .outerTwo] // it runs the test, and continues running the subsequent afterEachs + ) + } + + func testStoppingExamplesAreCorrectlyReported() { + stoppingAfterEachOrder = [] + + let result = qck_runSpec(FunctionalTests_AfterEachStoppingAsyncSpec.self)! + XCTAssertFalse(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 2) + XCTAssertEqual(result.failureCount, 1) + XCTAssertEqual(result.unexpectedExceptionCount, 0) + XCTAssertEqual(result.totalFailureCount, 1) + + XCTAssertEqual( + stoppingAfterEachOrder, + [.outerOne, .outerTwo, .outerOne, .outerTwo] // it continues running subsequent afterEachs + ) + } } diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift index 5f324074c..c336c98d3 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift @@ -109,11 +109,73 @@ class FunctionalTests_BeforeEachAsyncSpec: AsyncSpec { } } +private var skippingBeforeEachOrder = [ThrowingBeforeEachType]() + +class FunctionalTests_BeforeEachSkippingAsyncSpec: AsyncSpec { + override class func spec() { + describe("skipping tests") { + beforeEach { + throw XCTSkip() + } + + afterEach { + skippingBeforeEachOrder.append(.afterEach) + } + + it("skips this test") { + skippingBeforeEachOrder.append(.inner) + } + } + } +} + +private var stoppingBeforeEachOrder = [ThrowingBeforeEachType]() + +class FunctionalTests_BeforeEachStoppingAsyncSpec: AsyncSpec { + override class func spec() { + describe("stopping tests") { + context("silently stopping") { + beforeEach { + if isRunningFunctionalTests { + throw StopTest.silently + } + } + + afterEach { + stoppingBeforeEachOrder.append(.outerOne) + } + + it("supports silently stopping tests") { + stoppingBeforeEachOrder.append(.inner) + } + } + + context("stopping tests with expected tests") { + beforeEach { + if isRunningFunctionalTests { + throw StopTest("some error") + } + } + + afterEach { + stoppingBeforeEachOrder.append(.outerTwo) + } + + it("supports stopping tests with an error message") { + stoppingBeforeEachOrder.append(.inner) + } + } + } + } +} + final class BeforeEachAsyncTests: XCTestCase, XCTestCaseProvider { static var allTests: [(String, (BeforeEachAsyncTests) -> () throws -> Void)] { return [ ("testBeforeEachIsExecutedInTheCorrectOrder", testBeforeEachIsExecutedInTheCorrectOrder), ("testBeforeEachWhenThrowingStopsRunningTestsButDoesCallAfterEachs", testBeforeEachWhenThrowingStopsRunningTestsButDoesCallAfterEachs), + ("testSkippingExamplesAreCorrectlyReported", testSkippingExamplesAreCorrectlyReported), + ("testStoppingExamplesAreCorrectlyReported", testStoppingExamplesAreCorrectlyReported), ] } @@ -166,4 +228,35 @@ final class BeforeEachAsyncTests: XCTestCase, XCTestCaseProvider { expectedOrder ) } + + func testSkippingExamplesAreCorrectlyReported() { + skippingBeforeEachOrder = [] + + let result = qck_runSpec(FunctionalTests_BeforeEachSkippingAsyncSpec.self)! + XCTAssertTrue(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 1) + XCTAssertEqual(result.skipCount, 1) + XCTAssertEqual(result.totalFailureCount, 0) + + XCTAssertEqual( + skippingBeforeEachOrder, + [.afterEach] // it still runs the afterEachs + ) + } + + func testStoppingExamplesAreCorrectlyReported() { + stoppingBeforeEachOrder = [] + + let result = qck_runSpec(FunctionalTests_BeforeEachStoppingAsyncSpec.self)! + XCTAssertFalse(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 2) + XCTAssertEqual(result.failureCount, 1) + XCTAssertEqual(result.unexpectedExceptionCount, 0) + XCTAssertEqual(result.totalFailureCount, 1) + + XCTAssertEqual( + stoppingBeforeEachOrder, + [.outerOne, .outerTwo] + ) + } } diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift index 1d4c34d14..b0b6db33f 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift @@ -106,11 +106,73 @@ class FunctionalTests_BeforeEachSpec: QuickSpec { } } +private var skippingBeforeEachOrder = [ThrowingBeforeEachType]() + +class FunctionalTests_BeforeEachSkippingSpec: QuickSpec { + override class func spec() { + describe("skipping tests") { + beforeEach { + throw XCTSkip() + } + + afterEach { + skippingBeforeEachOrder.append(.afterEach) + } + + it("skips this test") { + skippingBeforeEachOrder.append(.inner) + } + } + } +} + +private var stoppingBeforeEachOrder = [ThrowingBeforeEachType]() + +class FunctionalTests_BeforeEachStoppingSpec: QuickSpec { + override class func spec() { + describe("stopping tests") { + context("silently stopping") { + beforeEach { + if isRunningFunctionalTests { + throw StopTest.silently + } + } + + afterEach { + stoppingBeforeEachOrder.append(.outerOne) + } + + it("supports silently stopping tests") { + stoppingBeforeEachOrder.append(.inner) + } + } + + context("stopping tests with expected tests") { + beforeEach { + if isRunningFunctionalTests { + throw StopTest("some error") + } + } + + afterEach { + stoppingBeforeEachOrder.append(.outerTwo) + } + + it("supports stopping tests with an error message") { + stoppingBeforeEachOrder.append(.inner) + } + } + } + } +} + final class BeforeEachTests: XCTestCase, XCTestCaseProvider { static var allTests: [(String, (BeforeEachTests) -> () throws -> Void)] { return [ ("testBeforeEachIsExecutedInTheCorrectOrder", testBeforeEachIsExecutedInTheCorrectOrder), ("testBeforeEachWhenThrowingStopsRunningTestsButDoesCallAfterEachs", testBeforeEachWhenThrowingStopsRunningTestsButDoesCallAfterEachs), + ("testSkippingExamplesAreCorrectlyReported", testSkippingExamplesAreCorrectlyReported), + ("testStoppingExamplesAreCorrectlyReported", testStoppingExamplesAreCorrectlyReported), ] } @@ -163,4 +225,35 @@ final class BeforeEachTests: XCTestCase, XCTestCaseProvider { expectedOrder ) } + + func testSkippingExamplesAreCorrectlyReported() { + skippingBeforeEachOrder = [] + + let result = qck_runSpec(FunctionalTests_BeforeEachSkippingSpec.self)! + XCTAssertTrue(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 1) + XCTAssertEqual(result.skipCount, 1) + XCTAssertEqual(result.totalFailureCount, 0) + + XCTAssertEqual( + skippingBeforeEachOrder, + [.afterEach] // it still runs the afterEachs + ) + } + + func testStoppingExamplesAreCorrectlyReported() { + stoppingBeforeEachOrder = [] + + let result = qck_runSpec(FunctionalTests_BeforeEachStoppingSpec.self)! + XCTAssertFalse(result.hasSucceeded) + XCTAssertEqual(result.executionCount, 2) + XCTAssertEqual(result.failureCount, 1) + XCTAssertEqual(result.unexpectedExceptionCount, 0) + XCTAssertEqual(result.totalFailureCount, 1) + + XCTAssertEqual( + stoppingBeforeEachOrder, + [.outerOne, .outerTwo] + ) + } } From b87708689bbb1eeac730bdf9fe6569cbdf3e48c3 Mon Sep 17 00:00:00 2001 From: Rachel Brindle Date: Wed, 6 Mar 2024 21:22:28 -0800 Subject: [PATCH 5/6] On xcode 14, XCTSkip must have a message included. This was dropped in later xcodes --- .../QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift | 2 +- .../QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift | 2 +- .../QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift | 2 +- .../QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift index 9db2982b6..99753093c 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift @@ -112,7 +112,7 @@ class FunctionalTests_AfterEachSkippingSpec: QuickSpec { describe("skipping tests") { afterEach { if isRunningFunctionalTests { - throw XCTSkip() + throw XCTSkip("this test is intentionally skipped") } } diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift index cdf8aac5a..cb0710f2b 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/Async/AfterEachAsyncTests.swift @@ -112,7 +112,7 @@ class FunctionalTests_AfterEachSkippingAsyncSpec: QuickSpec { describe("skipping tests") { afterEach { if isRunningFunctionalTests { - throw XCTSkip() + throw XCTSkip("this test is intentionally skipped") } } diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift index c336c98d3..fe3d36652 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/Async/BeforeEachAsyncTests.swift @@ -115,7 +115,7 @@ class FunctionalTests_BeforeEachSkippingAsyncSpec: AsyncSpec { override class func spec() { describe("skipping tests") { beforeEach { - throw XCTSkip() + throw XCTSkip("this test is intentionally skipped") } afterEach { diff --git a/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift b/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift index b0b6db33f..bcf168d9d 100644 --- a/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift +++ b/Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift @@ -112,7 +112,7 @@ class FunctionalTests_BeforeEachSkippingSpec: QuickSpec { override class func spec() { describe("skipping tests") { beforeEach { - throw XCTSkip() + throw XCTSkip("this test is intentionally skipped") } afterEach { From 6d01974d236f598633cac58280372c0c8cfea5bc Mon Sep 17 00:00:00 2001 From: Rachel Brindle Date: Wed, 6 Mar 2024 21:36:01 -0800 Subject: [PATCH 6/6] [v7.4.1] Update docs and podspec --- Quick.podspec | 2 +- docs/Classes.html | 4 ++-- docs/Classes/AsyncBehavior.html | 4 ++-- docs/Classes/AsyncExample.html | 4 ++-- docs/Classes/AsyncExampleGroup.html | 4 ++-- docs/Classes/AsyncSpec.html | 4 ++-- docs/Classes/Behavior.html | 4 ++-- docs/Classes/Callsite.html | 4 ++-- docs/Classes/Example.html | 4 ++-- docs/Classes/ExampleBase.html | 4 ++-- docs/Classes/ExampleGroup.html | 4 ++-- docs/Classes/ExampleMetadata.html | 4 ++-- docs/Classes/QCKConfiguration.html | 4 ++-- docs/Classes/QuickConfiguration.html | 4 ++-- docs/Classes/QuickTestSuite.html | 4 ++-- docs/Extensions.html | 4 ++-- docs/Functions.html | 4 ++-- docs/Protocols.html | 4 ++-- docs/Protocols/AsyncDSLUser.html | 4 ++-- docs/Protocols/SyncDSLUser.html | 4 ++-- docs/Structs.html | 4 ++-- docs/Structs/StopTest.html | 4 ++-- docs/Structs/TestState.html | 4 ++-- docs/Typealiases.html | 4 ++-- .../Quick.docset/Contents/Resources/Documents/Classes.html | 4 ++-- .../Contents/Resources/Documents/Classes/AsyncBehavior.html | 4 ++-- .../Contents/Resources/Documents/Classes/AsyncExample.html | 4 ++-- .../Resources/Documents/Classes/AsyncExampleGroup.html | 4 ++-- .../Contents/Resources/Documents/Classes/AsyncSpec.html | 4 ++-- .../Contents/Resources/Documents/Classes/Behavior.html | 4 ++-- .../Contents/Resources/Documents/Classes/Callsite.html | 4 ++-- .../Contents/Resources/Documents/Classes/Example.html | 4 ++-- .../Contents/Resources/Documents/Classes/ExampleBase.html | 4 ++-- .../Contents/Resources/Documents/Classes/ExampleGroup.html | 4 ++-- .../Contents/Resources/Documents/Classes/ExampleMetadata.html | 4 ++-- .../Resources/Documents/Classes/QCKConfiguration.html | 4 ++-- .../Resources/Documents/Classes/QuickConfiguration.html | 4 ++-- .../Contents/Resources/Documents/Classes/QuickTestSuite.html | 4 ++-- .../Quick.docset/Contents/Resources/Documents/Extensions.html | 4 ++-- .../Quick.docset/Contents/Resources/Documents/Functions.html | 4 ++-- .../Quick.docset/Contents/Resources/Documents/Protocols.html | 4 ++-- .../Contents/Resources/Documents/Protocols/AsyncDSLUser.html | 4 ++-- .../Contents/Resources/Documents/Protocols/SyncDSLUser.html | 4 ++-- .../Quick.docset/Contents/Resources/Documents/Structs.html | 4 ++-- .../Contents/Resources/Documents/Structs/StopTest.html | 4 ++-- .../Contents/Resources/Documents/Structs/TestState.html | 4 ++-- .../Contents/Resources/Documents/Typealiases.html | 4 ++-- .../Quick.docset/Contents/Resources/Documents/index.html | 4 ++-- docs/index.html | 4 ++-- docs/undocumented.json | 4 ++-- 50 files changed, 99 insertions(+), 99 deletions(-) diff --git a/Quick.podspec b/Quick.podspec index 0495cf80d..7a0df4769 100644 --- a/Quick.podspec +++ b/Quick.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Quick" - s.version = "7.4.0" + s.version = "7.4.1" s.summary = "The Swift (and Objective-C) testing framework." s.description = <<-DESC diff --git a/docs/Classes.html b/docs/Classes.html index ae36f7077..a3a25f748 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -769,7 +769,7 @@

Declaration

diff --git a/docs/Classes/AsyncBehavior.html b/docs/Classes/AsyncBehavior.html index 6016cce0a..7c4c3ff36 100644 --- a/docs/Classes/AsyncBehavior.html +++ b/docs/Classes/AsyncBehavior.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -342,7 +342,7 @@

Parameters

diff --git a/docs/Classes/AsyncExample.html b/docs/Classes/AsyncExample.html index 442c7ae47..f40bb8be2 100644 --- a/docs/Classes/AsyncExample.html +++ b/docs/Classes/AsyncExample.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -382,7 +382,7 @@

Declaration

diff --git a/docs/Classes/AsyncExampleGroup.html b/docs/Classes/AsyncExampleGroup.html index 77f57c14d..2a625e478 100644 --- a/docs/Classes/AsyncExampleGroup.html +++ b/docs/Classes/AsyncExampleGroup.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -320,7 +320,7 @@

Declaration

diff --git a/docs/Classes/AsyncSpec.html b/docs/Classes/AsyncSpec.html index 56454b05c..ce9cadcc8 100644 --- a/docs/Classes/AsyncSpec.html +++ b/docs/Classes/AsyncSpec.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -468,7 +468,7 @@

Declaration

diff --git a/docs/Classes/Behavior.html b/docs/Classes/Behavior.html index 4c9484bd5..fdd0dcdf5 100644 --- a/docs/Classes/Behavior.html +++ b/docs/Classes/Behavior.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -342,7 +342,7 @@

Parameters

diff --git a/docs/Classes/Callsite.html b/docs/Classes/Callsite.html index c953011a3..99067b6c1 100644 --- a/docs/Classes/Callsite.html +++ b/docs/Classes/Callsite.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -348,7 +348,7 @@

Declaration

diff --git a/docs/Classes/Example.html b/docs/Classes/Example.html index 8696da140..1d2796b53 100644 --- a/docs/Classes/Example.html +++ b/docs/Classes/Example.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -379,7 +379,7 @@

Declaration

diff --git a/docs/Classes/ExampleBase.html b/docs/Classes/ExampleBase.html index 5ee03bb56..cb8bed433 100644 --- a/docs/Classes/ExampleBase.html +++ b/docs/Classes/ExampleBase.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -355,7 +355,7 @@

Declaration

diff --git a/docs/Classes/ExampleGroup.html b/docs/Classes/ExampleGroup.html index 86e52e12b..7767a4d34 100644 --- a/docs/Classes/ExampleGroup.html +++ b/docs/Classes/ExampleGroup.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -339,7 +339,7 @@

Declaration

diff --git a/docs/Classes/ExampleMetadata.html b/docs/Classes/ExampleMetadata.html index f2b18e79c..1746304bc 100644 --- a/docs/Classes/ExampleMetadata.html +++ b/docs/Classes/ExampleMetadata.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -321,7 +321,7 @@

Declaration

diff --git a/docs/Classes/QCKConfiguration.html b/docs/Classes/QCKConfiguration.html index da48bb743..8c74c140a 100644 --- a/docs/Classes/QCKConfiguration.html +++ b/docs/Classes/QCKConfiguration.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -944,7 +944,7 @@

Declaration

diff --git a/docs/Classes/QuickConfiguration.html b/docs/Classes/QuickConfiguration.html index 64a06b64a..8d496f134 100644 --- a/docs/Classes/QuickConfiguration.html +++ b/docs/Classes/QuickConfiguration.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -288,7 +288,7 @@

QuickConfiguration

diff --git a/docs/Classes/QuickTestSuite.html b/docs/Classes/QuickTestSuite.html index 24b9fc7de..f9ffce7a0 100644 --- a/docs/Classes/QuickTestSuite.html +++ b/docs/Classes/QuickTestSuite.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -337,7 +337,7 @@

Return Value

diff --git a/docs/Extensions.html b/docs/Extensions.html index 3dd3f8bc1..f45b71b08 100644 --- a/docs/Extensions.html +++ b/docs/Extensions.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -309,7 +309,7 @@

Declaration

diff --git a/docs/Functions.html b/docs/Functions.html index bd93d9cc0..544012324 100644 --- a/docs/Functions.html +++ b/docs/Functions.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -289,7 +289,7 @@

Declaration

diff --git a/docs/Protocols.html b/docs/Protocols.html index 55a966cdf..3828baa8d 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -313,7 +313,7 @@

Declaration

diff --git a/docs/Protocols/AsyncDSLUser.html b/docs/Protocols/AsyncDSLUser.html index 6676149db..d8f2c98d4 100644 --- a/docs/Protocols/AsyncDSLUser.html +++ b/docs/Protocols/AsyncDSLUser.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -1415,7 +1415,7 @@

Declaration

diff --git a/docs/Protocols/SyncDSLUser.html b/docs/Protocols/SyncDSLUser.html index cc5a94c0a..1803bef14 100644 --- a/docs/Protocols/SyncDSLUser.html +++ b/docs/Protocols/SyncDSLUser.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -1846,7 +1846,7 @@

Declaration

diff --git a/docs/Structs.html b/docs/Structs.html index 06f51b525..f49678080 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -336,7 +336,7 @@

Declaration

diff --git a/docs/Structs/StopTest.html b/docs/Structs/StopTest.html index 4d5ecc002..cf108fdb5 100644 --- a/docs/Structs/StopTest.html +++ b/docs/Structs/StopTest.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -481,7 +481,7 @@

Declaration

diff --git a/docs/Structs/TestState.html b/docs/Structs/TestState.html index a90fd8652..d1596b5ee 100644 --- a/docs/Structs/TestState.html +++ b/docs/Structs/TestState.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -392,7 +392,7 @@

Parameters

diff --git a/docs/Typealiases.html b/docs/Typealiases.html index 3ea985c6d..f02da90ce 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -1166,7 +1166,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes.html index ae36f7077..a3a25f748 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -769,7 +769,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncBehavior.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncBehavior.html index 6016cce0a..7c4c3ff36 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncBehavior.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncBehavior.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -342,7 +342,7 @@

Parameters

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExample.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExample.html index 442c7ae47..f40bb8be2 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExample.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExample.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -382,7 +382,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExampleGroup.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExampleGroup.html index 77f57c14d..2a625e478 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExampleGroup.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncExampleGroup.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -320,7 +320,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncSpec.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncSpec.html index 56454b05c..ce9cadcc8 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncSpec.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/AsyncSpec.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -468,7 +468,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Behavior.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Behavior.html index 4c9484bd5..fdd0dcdf5 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Behavior.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Behavior.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -342,7 +342,7 @@

Parameters

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Callsite.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Callsite.html index c953011a3..99067b6c1 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Callsite.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Callsite.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -348,7 +348,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Example.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Example.html index 8696da140..1d2796b53 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Example.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/Example.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -379,7 +379,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleBase.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleBase.html index 5ee03bb56..cb8bed433 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleBase.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleBase.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -355,7 +355,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleGroup.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleGroup.html index 86e52e12b..7767a4d34 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleGroup.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleGroup.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -339,7 +339,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleMetadata.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleMetadata.html index f2b18e79c..1746304bc 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleMetadata.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/ExampleMetadata.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -321,7 +321,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QCKConfiguration.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QCKConfiguration.html index da48bb743..8c74c140a 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QCKConfiguration.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QCKConfiguration.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -944,7 +944,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickConfiguration.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickConfiguration.html index 64a06b64a..8d496f134 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickConfiguration.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickConfiguration.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -288,7 +288,7 @@

QuickConfiguration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickTestSuite.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickTestSuite.html index 24b9fc7de..f9ffce7a0 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickTestSuite.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Classes/QuickTestSuite.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -337,7 +337,7 @@

Return Value

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Extensions.html index 3dd3f8bc1..f45b71b08 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Extensions.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Extensions.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -309,7 +309,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Functions.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Functions.html index bd93d9cc0..544012324 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Functions.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Functions.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -289,7 +289,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols.html index 55a966cdf..3828baa8d 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -313,7 +313,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/AsyncDSLUser.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/AsyncDSLUser.html index 6676149db..d8f2c98d4 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/AsyncDSLUser.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/AsyncDSLUser.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -1415,7 +1415,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/SyncDSLUser.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/SyncDSLUser.html index cc5a94c0a..1803bef14 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/SyncDSLUser.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Protocols/SyncDSLUser.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -1846,7 +1846,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs.html index 06f51b525..f49678080 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -336,7 +336,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/StopTest.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/StopTest.html index 4d5ecc002..cf108fdb5 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/StopTest.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/StopTest.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -481,7 +481,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/TestState.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/TestState.html index a90fd8652..d1596b5ee 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/TestState.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Structs/TestState.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -392,7 +392,7 @@

Parameters

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/Typealiases.html index 3ea985c6d..f02da90ce 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/Typealiases.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/Typealiases.html @@ -17,7 +17,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -1166,7 +1166,7 @@

Declaration

diff --git a/docs/docsets/Quick.docset/Contents/Resources/Documents/index.html b/docs/docsets/Quick.docset/Contents/Resources/Documents/index.html index 78b909ee6..5defb994f 100644 --- a/docs/docsets/Quick.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/Quick.docset/Contents/Resources/Documents/index.html @@ -16,7 +16,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -363,7 +363,7 @@

License

diff --git a/docs/index.html b/docs/index.html index 78b909ee6..5defb994f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,7 @@
-

Quick 7.4.0 Docs (83% documented)

+

Quick 7.4.1 Docs (83% documented)

GitHubView on GitHub

@@ -363,7 +363,7 @@

License

diff --git a/docs/undocumented.json b/docs/undocumented.json index 4fc2cf71c..cbf68d477 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -107,7 +107,7 @@ }, { "file": "/Users/you/workspace/Quick/Sources/Quick/Examples/AsyncExample.swift", - "line": 246, + "line": 250, "symbol": "AsyncExample", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" @@ -142,7 +142,7 @@ }, { "file": "/Users/you/workspace/Quick/Sources/Quick/Examples/Example.swift", - "line": 296, + "line": 300, "symbol": "Example", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented"