test_sweet 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa037b5508e7a932d1db0aa3efdb71eab2351454
4
- data.tar.gz: 530e641e4072185b2f9a95c8786d7b8c2338bb4e
3
+ metadata.gz: 5237f3551bbd179bc3a5542ee48857f2c1253ded
4
+ data.tar.gz: acaa645702ee3e936f6e425bebf7a9c388a07304
5
5
  SHA512:
6
- metadata.gz: d6a429067513568cd14df7b72dad7e5fdd109beff040fe129b47ca7e0aa01cdf68a393ab7ba582b946b9f0a1a556140bf586d30e6c7fde429fa4717b91c0a747
7
- data.tar.gz: e3769f53a61baea01b3fcd434b0e3651b8c26f8c5ab8fa6367ca407a3c633b6000feba5b3f7fdc3ef504f55ce496a7b47c70ce1ef97bb359c7b93c30f491218a
6
+ metadata.gz: 999937c18c559cb30121e6f03df9d924df0c36807c9800ca0bee3524d04fc357d9bc9bf96f759ed5744830c41d54cdc11b26797030fbe15e16d823f640f40fee
7
+ data.tar.gz: 2ab8897b97b6f5ffa3831bf989f0b2153089f30ec33ba3b378a67fc80b73263c7614098f410455cb94d09bff42b1beae288460aa1647cc3ec19c000c68bff77e
data/README.md CHANGED
@@ -16,16 +16,21 @@ Add this line to your application's Gemfile:
16
16
  And then execute:
17
17
 
18
18
  $ bundle
19
- $ rake test_sweet
19
+ $ rake test_sweet:initialize
20
20
 
21
21
  ## Usage
22
22
 
23
23
  Start the Appium server
24
24
 
25
- After you have initialized your Test Sweet you can add new features and run them with the same command.
25
+ You can build and run your app together in one call
26
+ After you have initialized your Test Sweet you can add new features and run them with the provided rake task.
26
27
 
27
28
  $ rake test_sweet
28
29
 
30
+ Or if you prefer to pre-build your app with some setup on your side, you can just run the tests without the build task
31
+
32
+ $ rake test_sweet:run
33
+
29
34
  ## Contributing
30
35
 
31
36
  1. Fork it
@@ -7,14 +7,9 @@ namespace :test_sweet do
7
7
  end
8
8
  end
9
9
 
10
- task :prepare do
11
- Rake::Task["build:simulator"].invoke
12
- end
13
-
14
10
  desc "Run integration tests"
15
11
  task :run do
16
12
  if TestSweet.verify_initialized
17
- Rake::Task["test_sweet:prepare"].invoke
18
13
  ENV['test_sweet-target'] = Motion::Project::App.config.deployment_target || ENV['target']
19
14
  ENV['test_sweet-app'] = Motion::Project::App.config.app_bundle('iPhoneSimulator')
20
15
  ENV['test_sweet-device-name'] = Motion::Project::App.config.device_family_string(
@@ -29,5 +24,8 @@ namespace :test_sweet do
29
24
  end
30
25
  end
31
26
  end
32
- desc "Shorthand for test_sweet:run"
33
- task :test_sweet => ["test_sweet:run"]
27
+ desc "Build your app and run integration tests"
28
+ task :test_sweet do
29
+ Rake::Task["build:simulator"].invoke
30
+ Rake::Task["test_sweet:run"].invoke(args)
31
+ end
@@ -1,3 +1,3 @@
1
1
  class TestSweet
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_sweet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Larrabee