Skip to content

Commit

Permalink
[#482] Update Quick and Nimble with better support for async
Browse files Browse the repository at this point in the history
  • Loading branch information
blyscuit committed Oct 10, 2023
1 parent d10fa8b commit ed8c984
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Tuist/Interfaces/SwiftUI/Project/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use_frameworks!
inhibit_all_warnings!

def testing_pods
pod 'Quick', '~> 6.0'
pod 'Nimble', '~> 11.0'
pod 'Quick', '~> 7.0'
pod 'Nimble', '~> 12.0'
pod 'Sourcery'
pod 'SwiftFormat/CLI'
pod 'OHHTTPStubs/Swift', :configurations => ['Debug Staging', 'Debug Production']
Expand Down
4 changes: 2 additions & 2 deletions Tuist/Interfaces/UIKit/Project/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use_frameworks!
inhibit_all_warnings!

def testing_pods
pod 'Quick', '~> 6.0'
pod 'Nimble', '~> 11.0'
pod 'Quick', '~> 7.0'
pod 'Nimble', '~> 12.0'
pod 'Sourcery'
pod 'SwiftFormat/CLI'
pod 'OHHTTPStubs/Swift', :configurations => ['Debug Staging', 'Debug Production']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import Foundation
import Nimble
import Quick

final class ApplicationSpec: QuickSpec {
final class ApplicationSpec: KIFSpec {

override func spec() {
override class func spec() {

describe("a {PROJECT_NAME} screen") {

Expand All @@ -23,7 +23,7 @@ final class ApplicationSpec: QuickSpec {
context("when opens") {

it("shows its UI components") {
self.tester().waitForView(withAccessibilityLabel: "Hello, world!")
tester().waitForView(withAccessibilityLabel: "Hello, world!")
}
}
}
Expand Down
10 changes: 10 additions & 0 deletions {PROJECT_NAME}KIFUITests/Sources/Utilities/KIFSpec.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// KIFSpec.swift
//

import Quick

class KIFSpec: QuickSpec {

static let kifDelegate = XCTestCase()
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Quick

final class NetworkAPISpec: QuickSpec {

override func spec() {
override class func spec() {

describe("a NetworkAPI") {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Quick

final class OptionalUnwrapSpec: QuickSpec {

override func spec() {
override class func spec() {

describe("an string optional") {
var value: String?
Expand Down

0 comments on commit ed8c984

Please sign in to comment.