test_sweet 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d096735beb40a291d17639a5db278ecb16e7103b
4
- data.tar.gz: 83c3630b11f0ad74d67dabf724322e05bf9bdaca
3
+ metadata.gz: 9bfa8b41de928cecfc399415757f91a2cb0e9db4
4
+ data.tar.gz: 58fa274a8568d8667f4f47fac0e1019d4c923c0d
5
5
  SHA512:
6
- metadata.gz: 395a3b69bc3896efc56cedb3812fc45d896cb1b96469d50b943116f910d4655db708b67d5d13bb263f28894e2d41289e1a015703542ee4171df88414852d390c
7
- data.tar.gz: a5e6460f82cd9b28b20f88406ce1d71c8b0263bf85ed41a947271ef2a68022d51e99e5ffaf7fd55d1b01a673f44c968cf98aed22613a439e2c26b012763befab
6
+ metadata.gz: d448b1a0773bb4351f5d6e1cf932642e67499fb4194cb9e848ed30685c7fa41fc173e2344c423006cd4481aa7e2628cb699077f812e5bd14b5950820b7aac253
7
+ data.tar.gz: ff4285a04714a1fd1a4f1b55317c65276d59ecd8d09749ef041f105df149ece2c1b9ecd3cf9a0f668cf70b71fe6dce4a40048f82133556f2d1ea801fa014177e
data/README.md CHANGED
@@ -34,6 +34,22 @@ Or if you prefer to pre-build your app with some setup on your side, you can jus
34
34
  Finally you can also use the CLI runner to run your features not using rake
35
35
 
36
36
  $ test_sweet
37
+
38
+ ## Built in Steps
39
+
40
+ ##### Screenshot comparisms using motion-juxtapose
41
+ You can use this easily by simply providing a name for the screen, like so:
42
+
43
+ ```Gherkin
44
+ # The simplest way, simply give the screen name that should be used to compare against
45
+ Then the screen should match "the login screen"
46
+
47
+ # If you need to provide a fuzz_factor to motion-juxtapose you can use this instead
48
+ Then the screen should match "the login screen" with a fuzz factor of 1
49
+
50
+ # Finally if you also want it to try less times by default to increase speed of your tests
51
+ Then the screen should match "the login screen" with a fuzz factor of 1 with 5 max attempts
52
+ ```
37
53
 
38
54
  ## Contributing
39
55
 
@@ -14,7 +14,7 @@ namespace :test_sweet do
14
14
  ENV['test_sweet-platform'] = "Android"
15
15
  ENV['test_sweet-app'] = Motion::Project::App.config.apk_path
16
16
  else
17
- ENV['test_sweet-target'] = Motion::Project::App.config.deployment_target || ENV['target']
17
+ ENV['test_sweet-target'] = ENV['target'] || Motion::Project::App.config.deployment_target
18
18
  ENV['test_sweet-app'] = Motion::Project::App.config.app_bundle('iPhoneSimulator')
19
19
  ENV['test_sweet-platform'] = "iOS"
20
20
  ENV['test_sweet-device-name'] = Motion::Project::App.config.device_family_string(
@@ -1,3 +1,3 @@
1
1
  class TestSweet
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_sweet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Larrabee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-17 00:00:00.000000000 Z
11
+ date: 2015-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appium_lib