testlogger 0.0.2 → 0.0.3
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 +8 -8
- data/conf.rb +1 -1
- data/lib/testlogger.rb +1 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjNkMTVhOTkyNGIwNjUyNmQ0MTU1OWNhMTM4ODBlOTYxZWUyMjFiZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDdhMzAxNTg0MzBkYzY4MTQ0NTA2ZWUwZmM0OWQyNzFjOTk4YzZjNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTZhZWZhY2Y1MGIxNGZiMTEwMmEzNTMxOWE1OTA2NzgxN2QwNWVkMzI5MjJk
|
10
|
+
YWE5NjYzMjM4OThjYmYxYmNjNmVmOTk0NTQwNTZiZWY0YTVjNGZkMGQ4YWQx
|
11
|
+
OWMzZTk0NGMxOWM2Y2QyNWUyOTc3ZGM4ZDFjNTUzZmZmMDUyYzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDk3ZTYzMmEwNzllM2U1ODc5NWIzN2M2OTY0Y2YzNmE3ZTE4MjQxYzdhOTYy
|
14
|
+
YmYxNGQ2YjEwMzYyNmY4NjJlYmRjMGQxMTM2ZjRmMDBmZGMzMGY4YTg0YmEw
|
15
|
+
MTU4NWE2YmM5MzU5OGYzYzE0ZTBkMWUxMzQ1NjhiOTlkYTZmZDY=
|
data/conf.rb
CHANGED
data/lib/testlogger.rb
CHANGED
@@ -8,7 +8,6 @@ require 'time'
|
|
8
8
|
@Resultslocation = "C:/Results"
|
9
9
|
@logFileName = @Resultslocation+"TestResults_"+(Time.new.strftime "%H_%M_%S")+".xml"
|
10
10
|
|
11
|
-
#FileUtils.mkdir_p(File.dirname(@logFileName))
|
12
11
|
def self.getResultLocation()
|
13
12
|
puts "Find results at: "+@logFileName
|
14
13
|
end
|
@@ -18,7 +17,6 @@ require 'time'
|
|
18
17
|
location = File.expand_path(File.dirname(__FILE__)+"/../conf.rb")
|
19
18
|
require location
|
20
19
|
configValues = getLogConfiguration()
|
21
|
-
puts configValues[:resultFileLocation]
|
22
20
|
@logFileName = configValues[:resultFileLocation]+"/TestResults_"+(Time.new.strftime "%H_%M_%S")+".xml"
|
23
21
|
puts "Loading results location from default 'config.rb'"
|
24
22
|
Log.getResultLocation
|
@@ -212,7 +210,7 @@ require 'time'
|
|
212
210
|
log.add_child(error)
|
213
211
|
log = doc.at_xpath(Log.getCurrentNode+"/error[last()]")
|
214
212
|
|
215
|
-
timeN = Nokogiri::XML::Node.new("
|
213
|
+
timeN = Nokogiri::XML::Node.new("time", doc)
|
216
214
|
timeN.content=Time.now.iso8601(3)
|
217
215
|
log.add_child(timeN)
|
218
216
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testlogger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shiva Krishna Imminni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
description:
|
27
|
+
description: Log your test results into an xml file using testlogger. Special support
|
28
28
|
for nodes like test-script test-case test-step for QA Automation.
|
29
29
|
email:
|
30
30
|
- shivausum@gmail.org
|
@@ -34,7 +34,7 @@ extra_rdoc_files: []
|
|
34
34
|
files:
|
35
35
|
- lib/testlogger.rb
|
36
36
|
- conf.rb
|
37
|
-
homepage: http://questionselenium.com/
|
37
|
+
homepage: http://www.questionselenium.com/p/testlogger.html
|
38
38
|
licenses:
|
39
39
|
- MIT
|
40
40
|
metadata: {}
|
@@ -57,5 +57,5 @@ rubyforge_project:
|
|
57
57
|
rubygems_version: 2.1.10
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
|
-
summary:
|
60
|
+
summary: Log your test results into an xml file using testlogger.
|
61
61
|
test_files: []
|