Sha256: 57cbfc87f429509c59f682c71ef2e5f1627556bb2148337a50c62eccd13d0530

Contents?: true

Size: 571 Bytes

Versions: 9

Compression:

Stored size: 571 Bytes

Contents

//
//
//  Created by XCFit Framework
//  Copyright © 2016 XCFit Framework. All rights reserved.
//

/*

This is sample code created by XCFit Framework and can be edited/Removed as needed.

 This are preconditions or post conditions to be executed before or after each scenario
 */

import Foundation
import XCTest
import Cucumberish

class Hooks: NSObject {
    class func CustomHooks()
    {
        //A closure that will be executed just before executing any of your features
        beforeStart { () -> Void in
            // Write your hooks here

        }
    }
}

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
xcfit-3.1.7 XCFit4Demo/XCFit4DemoCucumberTests/Hooks.swift
xcfit-3.1.6 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift
xcfit-3.1.6 XCFit4Demo/XCFit4DemoCucumberTests/Hooks.swift
xcfit-3.1.5 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift
xcfit-3.1.4 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift
xcfit-3.1.3 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift
xcfit-2.1.0 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift
xcfit-2.0.9 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift
xcfit-2.0.8 XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/Hooks.swift