test_sweet 0.2.0 → 0.3.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 +7 -2
- data/lib/tasks/test_sweet.rb +5 -7
- data/lib/test_sweet/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5237f3551bbd179bc3a5542ee48857f2c1253ded
|
4
|
+
data.tar.gz: acaa645702ee3e936f6e425bebf7a9c388a07304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/tasks/test_sweet.rb
CHANGED
@@ -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 "
|
33
|
-
task :test_sweet
|
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
|
data/lib/test_sweet/version.rb
CHANGED