Sha256: fa2da336ecd70c0a78dddc277eab30e119e67595e6d9c4b1c176dab056f3db72
Contents?: true
Size: 1.17 KB
Versions: 20
Compression:
Stored size: 1.17 KB
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 is very important file as we will be using it as initialiser of all out test suite. We have to resgister all our Step Definitions in this class. e.g we have registed CommonStepDefinitions and HomeScreenSteps here */ import Foundation import Cucumberish class ___PACKAGENAMEASIDENTIFIER___: NSObject { class func CucumberishSwiftInit() { var application : XCUIApplication! //A closure that will be executed just before executing any of your features beforeStart { () -> Void in application = XCUIApplication() CommonStepDefinitions.setup(application); HomeScreenSteps().HomeScreenSteps() } //A Given step definition Given("the app is running") { (args, userInfo) -> Void in application.launch() } let bundle = Bundle(for: ___PACKAGENAMEASIDENTIFIER___.self) Cucumberish.executeFeatures(inDirectory: "Features", from: bundle, includeTags: nil, excludeTags: nil) } }
Version data entries
20 entries across 20 versions & 1 rubygems