test_bench-run 2.1.1.0 → 2.1.2.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: 2c9bffcdc1de5bb7ea2ee4f51e0ce5d7366005ffe545b9a0581818eeb7200416
4
- data.tar.gz: adb091a78e28434e5d19a8385cf569f3fcf2f80cc2ab5c17f061bb4d6755cec2
3
+ metadata.gz: cfdc2bb9462121e6431eff5ca00fe78b6c61f86d48060784650fc1c62cb0bf4b
4
+ data.tar.gz: d364c6b9b90bafed401b65fced2486e1b533b7b17c8278799f2932fc0fde0a59
5
5
  SHA512:
6
- metadata.gz: 00236c0e03ce239839e5d9a8e2c674233c11b76d5462d1f32ce1e7a1e3ed1772a6b72f277e4dd97768b6325924c52700fb919104bf975731f4211895f937699d
7
- data.tar.gz: ef5eb82f6c4f83961c5a2631b4647a5b90a4984b02dee9566166a1bfe2b81d87bcd127d6680e57c465e79a93fa73b0ebb14de7a30b3e8daae91fc654f486f1f1
6
+ metadata.gz: 93559b959c83af44b91260551a01dd3baae9383bc06d7cdc0a9aedb77b3598ce481e79b94fc01d47a98542056a7d2b2ea4bf7b313fa25ce69b68f3635a808e8c
7
+ data.tar.gz: c42ed249604ece941681a91cb9c45fea0f32ec04d8f5a25ee8ba1b5011eb57fd655ecb5235bec508d9e0271255785e4f33d87053268876f2077d2b07b30cbea6
@@ -9,9 +9,20 @@ module TestBench
9
9
  end
10
10
  attr_writer :run_file
11
11
 
12
+ def session
13
+ @session ||= Session::Substitute.build
14
+ end
15
+ attr_writer :session
16
+
17
+ def configure
18
+ Session.configure(self)
19
+ end
20
+
12
21
  def execute(file)
13
22
  run_file.(file)
14
23
  rescue => exception
24
+ session.record_failure
25
+
15
26
  STDERR.write("#{exception.full_message}\n")
16
27
  end
17
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_bench-run
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.0
4
+ version: 2.1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd