jason-o-matic-deep_test 1.2.2.7 → 1.2.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ module DeepTest
36
36
 
37
37
  missing_tests =
38
38
  ResultReader.new(@blackboard).read(tests_by_name) do |test, remote_result|
39
- result_times["#{test.method_name}(#{test.class.name})"] = remote_result.time
39
+ result_times["#{test.method_name}(#{test.class.name}) #{remote_result.host}"] = remote_result.time
40
40
  remote_result.add_to result
41
41
  yield ::Test::Unit::TestCase::FINISHED, test.name if block_given?
42
42
  end
@@ -2,7 +2,7 @@ module DeepTest
2
2
  module Test
3
3
  class WorkResult < ::Test::Unit::TestResult
4
4
  attr_reader :identifier
5
- attr_accessor :output, :time
5
+ attr_accessor :output, :time, :host
6
6
 
7
7
  def initialize(identifier)
8
8
  super()
@@ -20,6 +20,7 @@ module DeepTest
20
20
  Error.new(work_unit, error)
21
21
  end
22
22
  result.time = Time.now - start_time
23
+ result.host = Socket.gethostname
23
24
 
24
25
  @listener.finished_work(self, work_unit, result)
25
26
  @blackboard.write_result result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jason-o-matic-deep_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2.7
4
+ version: 1.2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - anonymous z, Dan Manges, David Vollbracht