testingbot 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/testingbot/version.rb +1 -1
- data/lib/testingbot.rb +8 -2
- metadata +2 -2
data/lib/testingbot/version.rb
CHANGED
data/lib/testingbot.rb
CHANGED
@@ -152,7 +152,6 @@ begin
|
|
152
152
|
require 'rspec'
|
153
153
|
|
154
154
|
::RSpec.configuration.after :each do
|
155
|
-
p
|
156
155
|
if File.exists?(File.expand_path("~/.testingbot"))
|
157
156
|
str = File.open(File.expand_path("~/.testingbot")) { |f| f.readline }.chomp
|
158
157
|
client_key, client_secret = str.split(':')
|
@@ -162,8 +161,15 @@ begin
|
|
162
161
|
if example.metadata[:example_group][:description_args]
|
163
162
|
test_name = example.metadata[:example_group][:description_args].join(" ")
|
164
163
|
end
|
164
|
+
|
165
|
+
if example.metadata[:description_args]
|
166
|
+
test_name = test_name + " it " + example.metadata[:description_args].join(" ")
|
167
|
+
end
|
165
168
|
end
|
166
169
|
|
170
|
+
status_message = ""
|
171
|
+
status_message = example.exception.to_s if !example.exception.nil?
|
172
|
+
|
167
173
|
session_id = nil
|
168
174
|
|
169
175
|
if !@selenium_driver.nil?
|
@@ -181,7 +187,7 @@ begin
|
|
181
187
|
"session_id" => session_id,
|
182
188
|
"client_key" => client_key,
|
183
189
|
"client_secret" => client_secret,
|
184
|
-
"status_message" =>
|
190
|
+
"status_message" => status_message,
|
185
191
|
"success" => example.exception.nil?,
|
186
192
|
"name" => test_name,
|
187
193
|
"kind" => 2
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testingbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-29 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This gem makes using our Selenium grid on testingbot.com easy
|
15
15
|
email:
|