test_bench-session 2.1.2.0 → 2.1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4584aa377ac56c0b734a8b46b21dcd3c312427de0fb08e91acd4dd9b3b43165
4
- data.tar.gz: e7d9e52d61b5b823aac1a84aeb8f855bf511842ebbad7da5543213cf0eb3a024
3
+ metadata.gz: c059f9f3ad6f889d1fd27906807f67d15a57bef1566f811b07991d7d010d10dc
4
+ data.tar.gz: e956bcc0ba3fbbb0fd3a84bf3ca92197e6461d1b1a0e75202fd1cd022759e3e8
5
5
  SHA512:
6
- metadata.gz: a70d287ac51e51d9f15939c8566850059ce220aed0f850ea7e57779d9e14926ef75b5e566b4cc76af2c43c912fa9e9d5d157066799da3ca57cb0b4a3f06b9f91
7
- data.tar.gz: 431bda42ae4bb683a1e0e0145a9d438ca6eec71f41944130e38106eeafd34962cc63509dfad79800feb9387ee12476b0aed128ed6128bcaae2ccd41311566db5
6
+ metadata.gz: 4073bcd9b0948de7e9de8bd35ba6d5d6de3fee53f967a2da23bb19fd9fc743381aa5a9a400f63ab5776185c2defd52d8a4dec34856e8147b6730cd4085b49c20
7
+ data.tar.gz: 353dbf7d7d7aaa33f2520ffafbb4839b9148b7115bec3e68e729e96ac7d9289331b9ef969a33a62c5e10feef1af10fa939e31a271990a40936e8c9a114395938
@@ -0,0 +1,7 @@
1
+ module TestBench
2
+ class Session
3
+ module Controls
4
+ TelemetrySink = Telemetry::Controls::Sink
5
+ end
6
+ end
7
+ end
@@ -28,6 +28,8 @@ require 'test_bench/session/controls/events/fixture_started'
28
28
  require 'test_bench/session/controls/events/fixture_finished'
29
29
  require 'test_bench/session/controls/events'
30
30
 
31
+ require 'test_bench/session/controls/telemetry_sink'
32
+
31
33
  require 'test_bench/session/controls/substitute/path'
32
34
 
33
35
  require 'test_bench/session/controls/event'
@@ -206,6 +206,10 @@ module TestBench
206
206
  compare_sequence != assertion_sequence
207
207
  end
208
208
 
209
+ def register_telemetry_sink(telemetry_sink)
210
+ telemetry.register(telemetry_sink)
211
+ end
212
+
209
213
  def record_assertion
210
214
  self.assertion_sequence += 1
211
215
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_bench-session
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2.0
4
+ version: 2.1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd
@@ -75,6 +75,7 @@ files:
75
75
  - lib/test_bench/session/controls/result.rb
76
76
  - lib/test_bench/session/controls/substitute
77
77
  - lib/test_bench/session/controls/substitute/path.rb
78
+ - lib/test_bench/session/controls/telemetry_sink.rb
78
79
  - lib/test_bench/session/controls/time.rb
79
80
  - lib/test_bench/session/controls/title.rb
80
81
  - lib/test_bench/session/controls.rb