Permalink
Browse files

Version Bump

  • Loading branch information...
Shashikant86 committed Apr 11, 2017
1 parent 7fcf7f6 commit 4846e3402950d5bfb6eca8e41b55c90ea87ad670
View
@@ -13,18 +13,18 @@ target PROTOCOL_BDD_TARGET do
pod 'XCFit'
end
target PAGE_OBJECT_TEST_TARGET do
pod 'XCFit'
end
target CUCUMBER_TEST_TARGET do
pod 'Cucumberish'
end
target FITNESSE_ACCEPTANCE_TEST_TARGET do
pod 'OCSlimProject'
end
target FITNESSE_ACCEPTANCE_XCTEST_TARGET do
pod 'OCSlimProjectTestBundleSupport'
end
# target PAGE_OBJECT_TEST_TARGET do
# pod 'XCFit'
# end
#
# target CUCUMBER_TEST_TARGET do
# pod 'Cucumberish'
# end
#
# target FITNESSE_ACCEPTANCE_TEST_TARGET do
# pod 'OCSlimProject'
# end
#
# target FITNESSE_ACCEPTANCE_XCTEST_TARGET do
# pod 'OCSlimProjectTestBundleSupport'
# end
View
@@ -24,34 +24,34 @@ lane :xcfit do |options|
scan(opts)
end
desc "Runs XCFit Cucumberish Tests and Generate JUnit and HTML reports"
lane :xcfit_cucumberish do |options|
opts = {
:scheme => XCFIT_CUCUMBERISH_SCHEME,
:workspace => WORKSPACE,
:configuration => CONFIGURATION,
:destination => DESTINATION,
:buildlog_path => './build',
:output_directory => './build/cucumberish/reports',
:output_style => 'basic',
:output_types => 'junit, html',
:code_coverage => true,
}
scan(opts)
end
desc "Runs XCFit Fitnesse Tests and Generate JUnit and HTML reports"
lane :xcfit_fitnesse do |options|
opts = {
:scheme => XCFIT_FITNESSE_SCHEME,
:workspace => WORKSPACE,
:configuration => CONFIGURATION,
:destination => DESTINATION,
:buildlog_path => './build',
:output_directory => './build/fitnesse/reports',
:output_style => 'basic',
:output_types => 'junit, html',
:code_coverage => true,
}
scan(opts)
end
# desc "Runs XCFit Cucumberish Tests and Generate JUnit and HTML reports"
# lane :xcfit_cucumberish do |options|
# opts = {
# :scheme => XCFIT_CUCUMBERISH_SCHEME,
# :workspace => WORKSPACE,
# :configuration => CONFIGURATION,
# :destination => DESTINATION,
# :buildlog_path => './build',
# :output_directory => './build/cucumberish/reports',
# :output_style => 'basic',
# :output_types => 'junit, html',
# :code_coverage => true,
# }
# scan(opts)
# end
#
# desc "Runs XCFit Fitnesse Tests and Generate JUnit and HTML reports"
# lane :xcfit_fitnesse do |options|
# opts = {
# :scheme => XCFIT_FITNESSE_SCHEME,
# :workspace => WORKSPACE,
# :configuration => CONFIGURATION,
# :destination => DESTINATION,
# :buildlog_path => './build',
# :output_directory => './build/fitnesse/reports',
# :output_style => 'basic',
# :output_types => 'junit, html',
# :code_coverage => true,
# }
# scan(opts)
# end
@@ -12,10 +12,10 @@
9BD0A58F1E9C781F00A06EE0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9BD0A58D1E9C781F00A06EE0 /* Main.storyboard */; };
9BD0A5911E9C781F00A06EE0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9BD0A5901E9C781F00A06EE0 /* Assets.xcassets */; };
9BD0A5941E9C781F00A06EE0 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9BD0A5921E9C781F00A06EE0 /* LaunchScreen.storyboard */; };
9BD0A5AC1E9C798600A06EE0 /* Feature+Protocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5AB1E9C798600A06EE0 /* Feature+Protocol.swift */; };
9BD0A5AF1E9C798600A06EE0 /* Feature+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5AE1E9C798600A06EE0 /* Feature+Extension.swift */; };
9BD0A5B21E9C798600A06EE0 /* Feature+Enum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5B11E9C798600A06EE0 /* Feature+Enum.swift */; };
9BD0A5B51E9C798600A06EE0 /* XCFit_ExampleProtocolBDDTestsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5B41E9C798600A06EE0 /* XCFit_ExampleProtocolBDDTestsTests.swift */; };
9BD0A5AC1E9C798600A06EE0 /* Welcome+Protocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5AB1E9C798600A06EE0 /* Welcome+Protocol.swift */; };
9BD0A5AF1E9C798600A06EE0 /* Welcome+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5AE1E9C798600A06EE0 /* Welcome+Extension.swift */; };
9BD0A5B21E9C798600A06EE0 /* Welcome+Enum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5B11E9C798600A06EE0 /* Welcome+Enum.swift */; };
9BD0A5B51E9C798600A06EE0 /* Welcome+Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BD0A5B41E9C798600A06EE0 /* Welcome+Tests.swift */; };
9BD0A5BC1E9C79C900A06EE0 /* XCFit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BD0A59C1E9C78EE00A06EE0 /* XCFit.framework */; };
/* End PBXBuildFile section */
@@ -39,10 +39,10 @@
9BD0A5951E9C781F00A06EE0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9BD0A59C1E9C78EE00A06EE0 /* XCFit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCFit.framework; path = Carthage/Build/iOS/XCFit.framework; sourceTree = "<group>"; };
9BD0A5A61E9C798600A06EE0 /* XCFit-ExampleProtocolBDDTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "XCFit-ExampleProtocolBDDTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
9BD0A5AB1E9C798600A06EE0 /* Feature+Protocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Feature+Protocol.swift"; sourceTree = "<group>"; };
9BD0A5AE1E9C798600A06EE0 /* Feature+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Feature+Extension.swift"; sourceTree = "<group>"; };
9BD0A5B11E9C798600A06EE0 /* Feature+Enum.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Feature+Enum.swift"; sourceTree = "<group>"; };
9BD0A5B41E9C798600A06EE0 /* XCFit_ExampleProtocolBDDTestsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCFit_ExampleProtocolBDDTestsTests.swift; sourceTree = "<group>"; };
9BD0A5AB1E9C798600A06EE0 /* Welcome+Protocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Welcome+Protocol.swift"; sourceTree = "<group>"; };
9BD0A5AE1E9C798600A06EE0 /* Welcome+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Welcome+Extension.swift"; sourceTree = "<group>"; };
9BD0A5B11E9C798600A06EE0 /* Welcome+Enum.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Welcome+Enum.swift"; sourceTree = "<group>"; };
9BD0A5B41E9C798600A06EE0 /* Welcome+Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Welcome+Tests.swift"; sourceTree = "<group>"; };
9BD0A5B61E9C798600A06EE0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -127,31 +127,31 @@
9BD0A5AA1E9C798600A06EE0 /* Features */ = {
isa = PBXGroup;
children = (
9BD0A5AB1E9C798600A06EE0 /* Feature+Protocol.swift */,
9BD0A5AB1E9C798600A06EE0 /* Welcome+Protocol.swift */,
);
name = Features;
sourceTree = "<group>";
};
9BD0A5AD1E9C798600A06EE0 /* Steps */ = {
isa = PBXGroup;
children = (
9BD0A5AE1E9C798600A06EE0 /* Feature+Extension.swift */,
9BD0A5AE1E9C798600A06EE0 /* Welcome+Extension.swift */,
);
name = Steps;
sourceTree = "<group>";
};
9BD0A5B01E9C798600A06EE0 /* Elements */ = {
isa = PBXGroup;
children = (
9BD0A5B11E9C798600A06EE0 /* Feature+Enum.swift */,
9BD0A5B11E9C798600A06EE0 /* Welcome+Enum.swift */,
);
name = Elements;
sourceTree = "<group>";
};
9BD0A5B31E9C798600A06EE0 /* Tests */ = {
isa = PBXGroup;
children = (
9BD0A5B41E9C798600A06EE0 /* XCFit_ExampleProtocolBDDTestsTests.swift */,
9BD0A5B41E9C798600A06EE0 /* Welcome+Tests.swift */,
);
name = Tests;
sourceTree = "<group>";
@@ -296,10 +296,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9BD0A5AC1E9C798600A06EE0 /* Feature+Protocol.swift in Sources */,
9BD0A5B51E9C798600A06EE0 /* XCFit_ExampleProtocolBDDTestsTests.swift in Sources */,
9BD0A5B21E9C798600A06EE0 /* Feature+Enum.swift in Sources */,
9BD0A5AF1E9C798600A06EE0 /* Feature+Extension.swift in Sources */,
9BD0A5AC1E9C798600A06EE0 /* Welcome+Protocol.swift in Sources */,
9BD0A5B51E9C798600A06EE0 /* Welcome+Tests.swift in Sources */,
9BD0A5B21E9C798600A06EE0 /* Welcome+Enum.swift in Sources */,
9BD0A5AF1E9C798600A06EE0 /* Welcome+Extension.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -17,7 +17,7 @@ This file stores all the XCUIElements for the perticular screen or feature so th
import Foundation
import XCTest
enum FeatureElements {
enum WelcomeElements {
static let helloButton = XCUIApplication().buttons["hello"]
static let welcomeText = XCUIApplication().staticTexts["Welcome"]
@@ -19,7 +19,7 @@ import XCTest
// Once XCFit is imported we can use predefined steps
extension Feature {
extension Welcome {
func givenTheAppIsRunning() {
@@ -15,6 +15,6 @@ import Foundation
import XCTest
protocol Feature {
protocol Welcome {
func testAppIsRunning()
}
@@ -14,11 +14,11 @@
import XCTest
//import XCFit
import XCFit
// Once XCFit is imported then you can extend this class to use pre-defined steps
class ___PACKAGENAMEASIDENTIFIER___Tests: XCTestCase, Feature {
class WelcomeTests: XCFit, Welcome {
override func setUp() {
super.setUp()
@@ -33,6 +33,8 @@ class ___PACKAGENAMEASIDENTIFIER___Tests: XCTestCase, Feature {
func testAppIsRunning() {
givenTheAppIsRunning()
whenITap(on: WelcomeElements.helloButton)
thenIShouldSee(WelcomeElements.welcomeText)
}
}

This file was deleted.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'XCFit'
s.version = '4.0.7'
s.version = '4.0.8'
s.summary = 'Full Stack BDD for iOS and macOS Apps with Swift, Xcode using XCUITest, Cucumberish, FitNesse and friends.'
s.description = <<-DESC
@@ -68,7 +68,7 @@
<string>Feature+Extension.swift</string>
<string>Feature+Enum.swift</string>
<string>Info.plist:PackageType</string>
<string>___PACKAGENAMEASIDENTIFIER___Tests.swift</string>
<string>Feature+Tests.swift</string>
</array>
<key>Definitions</key>
<dict>
@@ -97,10 +97,10 @@
<string>&lt;key&gt;CFBundlePackageType&lt;/key&gt;
&lt;string&gt;BNDL&lt;/string&gt;
</string>
<key>___PACKAGENAMEASIDENTIFIER___Tests.swift</key>
<key>Feature+Tests.swift</key>
<dict>
<key>Path</key>
<string>___PACKAGENAMEASIDENTIFIER___Tests.swift</string>
<string>Feature+Tests.swift</string>
<key>Group</key>
<string>Tests</string>
</dict>
View
@@ -3,7 +3,7 @@
require 'fileutils'
require 'tempfile'
VERSION = "4.0.7"
VERSION = "4.0.8"
@root_dir = File.expand_path('~')
@root_lib_dir = File.join(@root_dir, 'Library')
View
@@ -1,3 +1,3 @@
module XCFit
VERSION = "4.0.7"
VERSION = "4.0.8"
end

0 comments on commit 4846e34

Please sign in to comment.