xcfit 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/XCFit/main.rb +3 -3
- data/lib/XCFit/version.rb +1 -1
- metadata +1 -2
- data/XCFit_Templates/demo.feature +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 359a742c6da8b3f8cac4cb608af043b999a0d770
|
4
|
+
data.tar.gz: ee93c85a6b1ded10dceb6e82ed114b87de5dc988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b3d8ad162aae77bba2720c1f8b38dc4ccad1529fba03de3ad38162dfad66e76e7f9288a50ff8d02f3dbcb19f904f59d728770ed0f9c1095adbfab047881369
|
7
|
+
data.tar.gz: 18f8a4c526e5dd480c49929280d95dcf1d047b9b2771b71bbf6ba983f4c81dcc1e0d8b596a8b665d6a8f296eff055d5ef96d1d5a0c2c5f43bf336b13a693d93d
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# XCFit
|
7
7
|
|
8
|
-
|
8
|
+
####XCFit a.k.a ([XCUI](https://developer.apple.com/videos/play/wwdc2015/406/0), [Cucumberish](https://github.com/Ahmed-Ali/Cucumberish) and [Fitnesse](https://github.com/paulstringer/OCSlimProject) Integrations Tests) is a full stack Xcode BDD framework for [Swift](https://swift.org) iOS and macOS apps. XCFit allows us to write API, UI and Acceptance Tests in human readable language using tools like [Cucumber](https://cucumber.io/) and [Fitnesse](http://fitnesse.org/) in Xcode. XCFit is fully automated solution for Cucumberish and Fitness. XCFit is available on [RubyGem](https://rubygems.org/gems/xcfit) and [CocoaPods](http://cocoadocs.org/docsets/XCFit).
|
9
9
|
|
10
10
|
### XCFit Features
|
11
11
|
There are few reason you should go for XCFit
|
@@ -109,7 +109,7 @@ Now that Xcode has created brand new target with all required Swift and Objectiv
|
|
109
109
|
$ cd $CUCUMBERISH_TARGET_DIR
|
110
110
|
$ xcfit get_cucumberish 0.0.7
|
111
111
|
```
|
112
|
-
This will download Cucumberish directory from version 0.0.7 and also creats 'Features' directory
|
112
|
+
This will download Cucumberish directory from version 0.0.7 and also creats 'Features' directory. You can then reference those directory in Xcode. For "Cucumberish" directory select 'Copy if needed and Create Group' and for the "Features" directory select don't create group or Copy if needed. Just " create folder reference"
|
113
113
|
|
114
114
|
- Finally from the Cucumberish target 'General' setting select 'Testing -> Target To Test' and configure scheme to add Cucumeerish UI target to Test
|
115
115
|
|
@@ -166,7 +166,7 @@ You can execute Cucumberish tests with like this for XCFitDemo App.
|
|
166
166
|
|
167
167
|
|
168
168
|
```sh
|
169
|
-
xcodebuild -workspace
|
169
|
+
xcodebuild -workspace XCFitDemo.xcworkspace -scheme XCFitDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6' test | xcpretty --test --color
|
170
170
|
```
|
171
171
|
|
172
172
|
You can now analyse the reports generated in the 'build/reports' directory.
|
data/lib/XCFit/main.rb
CHANGED
@@ -90,10 +90,10 @@ module XCFit
|
|
90
90
|
puts "==================XXXXXXXX==========================="
|
91
91
|
system("mkdir -p Features")
|
92
92
|
demo_feature_file = $source_template_dir + "/demo.feature"
|
93
|
-
system("cp #{demo_feature_file} Features/")
|
94
|
-
puts $source_cucumberish_template_dir
|
93
|
+
# system("cp #{demo_feature_file} Features/")
|
94
|
+
# puts $source_cucumberish_template_dir
|
95
95
|
puts "==================XXXXXXXX==========================="
|
96
|
-
puts "=======Created Feature Directory
|
96
|
+
puts "=======Created Feature Directory. Add New Gherkin Feature ===="
|
97
97
|
puts "==================XXXXXXXX==========================="
|
98
98
|
end
|
99
99
|
|
data/lib/XCFit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcfit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shashikant86
|
@@ -1671,7 +1671,6 @@ files:
|
|
1671
1671
|
- XCFit_Templates/XCFit/iOS API Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist
|
1672
1672
|
- XCFit_Templates/XCFit/iOS Acceptance Tests.xctemplate/TemplateInfo.plist
|
1673
1673
|
- XCFit_Templates/XCFit/iOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist
|
1674
|
-
- XCFit_Templates/demo.feature
|
1675
1674
|
- bin/xcfit
|
1676
1675
|
- lib/XCFit.rb
|
1677
1676
|
- lib/XCFit/main.rb
|