Permalink
Browse files

Bump version to 8.0.0

  • Loading branch information...
Shashikant86 committed Apr 29, 2018
1 parent 130b54a commit be12f9140eb08efb850101949f9abc2abcdf4701
Showing with 657 additions and 922 deletions.
  1. +2 −0 XCFit-Demo/Cartfile
  2. +1 −0 XCFit-Demo/Cartfile.resolved
  3. +579 −0 XCFit-Demo/XCFit-Demo.xcodeproj/project.pbxproj
  4. +1 −1 ...Example.xcodeproj → XCFit-Demo/XCFit-Demo.xcodeproj}/project.xcworkspace/contents.xcworkspacedata
  5. +8 −0 XCFit-Demo/XCFit-Demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  6. +3 −3 {XCFit-Example/XCFit-Example → XCFit-Demo/XCFit-Demo}/AppDelegate.swift
  7. +5 −0 ...t-Example/XCFit-Example → XCFit-Demo/XCFit-Demo}/Assets.xcassets/AppIcon.appiconset/Contents.json
  8. +6 −0 XCFit-Demo/XCFit-Demo/Assets.xcassets/Contents.json
  9. 0 {XCFit-Example/XCFit-Example → XCFit-Demo/XCFit-Demo}/Base.lproj/LaunchScreen.storyboard
  10. +24 −0 XCFit-Demo/XCFit-Demo/Base.lproj/Main.storyboard
  11. 0 {XCFit-Example/XCFit-Example → XCFit-Demo/XCFit-Demo}/Info.plist
  12. +3 −7 {XCFit-Example/XCFit-Example → XCFit-Demo/XCFit-Demo}/ViewController.swift
  13. 0 {XCFit-Example/XCFit-ExampleProtocolBDDTests → XCFit-Demo/XCFit-DemoProtocolBDDTests}/Feature.swift
  14. +8 −7 ...mple/XCFit-ExampleProtocolBDDTests → XCFit-Demo/XCFit-DemoProtocolBDDTests}/FeatureElements.swift
  15. +3 −3 ...Example/XCFit-ExampleProtocolBDDTests → XCFit-Demo/XCFit-DemoProtocolBDDTests}/FeatureSteps.swift
  16. +4 −3 ...Example/XCFit-ExampleProtocolBDDTests → XCFit-Demo/XCFit-DemoProtocolBDDTests}/FeatureTests.swift
  17. 0 {XCFit-Example/XCFit-ExampleProtocolBDDTests → XCFit-Demo/XCFit-DemoProtocolBDDTests}/Info.plist
  18. 0 ...t-Example/XCFit-ExampleProtocolBDDTests → XCFit-Demo/XCFit-DemoProtocolBDDTests}/UITestBase.swift
  19. +0 −1 XCFit-Example/Cartfile
  20. +0 −1 XCFit-Example/Cartfile.resolved
  21. +0 −674 XCFit-Example/XCFit-Example.xcodeproj/project.pbxproj
  22. +0 −113 XCFit-Example/XCFit-Example.xcodeproj/xcshareddata/xcschemes/XCFit-Example.xcscheme
  23. +0 −49 XCFit-Example/XCFit-Example/Base.lproj/Main.storyboard
  24. +0 −22 XCFit-Example/XCFit-ExampleTests/Info.plist
  25. +0 −36 XCFit-Example/XCFit-ExampleTests/XCFit_ExampleTests.swift
  26. +1 −1 XCFit.podspec
  27. +8 −0 XCFit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  28. +1 −1 lib/XCFit/version.rb
View
@@ -0,0 +1,2 @@
github "Shashikant86/XCFit" "7.1.0"
@@ -0,0 +1 @@
github "Shashikant86/XCFit" "7.1.0"

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
@@ -1,9 +1,9 @@
//
// AppDelegate.swift
// XCFit-Example
// XCFit-Demo
//
// Created by Shashikant Jagtap on 04/10/2017.
// Copyright © 2017 Shashikant Jagtap. All rights reserved.
// Created by Shashikant Jagtap on 29/04/2018.
// Copyright © 2018 Shashikant Jagtap. All rights reserved.
//
import UIKit
@@ -84,6 +84,11 @@
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
@@ -1,19 +1,15 @@
//
// ViewController.swift
// XCFit-Example
// XCFit-Demo
//
// Created by Shashikant Jagtap on 04/10/2017.
// Copyright © 2017 Shashikant Jagtap. All rights reserved.
// Created by Shashikant Jagtap on 29/04/2018.
// Copyright © 2018 Shashikant Jagtap. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var welcomeText: UITextField!
@IBAction func Hello(_ sender: Any) {
welcomeText.text = "Welcome"
}
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
@@ -19,15 +19,16 @@ import XCTest
enum FeatureScreen: String {
case helloButton
case welcome
case homeButton = "Home"
var element: XCUIElement {
var button: XCUIElement {
switch self {
case .helloButton:
return XCUIApplication().buttons["Hello"]
case .welcome:
return XCUIApplication().textFields["Welcome"]
case .homeButton:
if UIDevice.current.userInterfaceIdiom == .pad {
return XCUIApplication().buttons["iPadHome"]
} else {
return XCUIApplication().buttons[self.rawValue]
}
}
}
}
@@ -27,9 +27,9 @@ extension Feature {
}
}
func whenITapHelloButton() {
XCTContext.runActivity(named: "When I Tap Hello Button") { _ in
FeatureScreen.helloButton.element.tap()
func whenITapHomeButton() {
XCTContext.runActivity(named: "When I Tap Home Button") { _ in
FeatureScreen.homeButton.button.tap()
}
}
}
@@ -12,12 +12,13 @@
*/
import XCFit
class FeatureTests: UITestBase, Feature {
func testAppIsRunning() {
givenILaunchAppInCleanState()
givenILaunchedApplication()
whenITap(on: FeatureScreen.helloButton.element)
thenIShouldSee(FeatureScreen.welcome.element)
}
}
View

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit be12f91

Please sign in to comment.