test_bench-run 2.1.2.0 → 2.1.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7579ee8c67869edb3eb99c7f2bc2348e1f5862cabc226d6e046f79ff3428c332
|
4
|
+
data.tar.gz: 88d89ca0db6ed883b59e43a80a363ddd4e3e98b1b12a7cbab351bf6dfa27fd4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457c65e02855bb3b717905e50018d08277b4e07849ba41b8d478cf6a1688765c4c0568c536730a765ac206d002ea8e98558bab7f233ddc89d77702701281f946
|
7
|
+
data.tar.gz: ce66171fcd0c35074b0126776e6e4cfc37df85e96c50a51d76e1612728dc710ece9fea43c59dc8ebac24f0c04fe0d9e59798a306e3011051312a9ba91f84512d
|
@@ -9,18 +9,21 @@ module TestBench
|
|
9
9
|
end
|
10
10
|
attr_writer :run_file
|
11
11
|
|
12
|
-
def
|
13
|
-
@
|
12
|
+
def session_store
|
13
|
+
@session_store ||= Session::Store.new
|
14
14
|
end
|
15
|
-
attr_writer :
|
15
|
+
attr_writer :session_store
|
16
16
|
|
17
17
|
def configure
|
18
|
-
Session.configure(self)
|
18
|
+
Session::Store.configure(self)
|
19
19
|
end
|
20
20
|
|
21
21
|
def execute(file)
|
22
22
|
run_file.(file)
|
23
|
+
|
23
24
|
rescue => exception
|
25
|
+
session = session_store.fetch
|
26
|
+
|
24
27
|
session.record_failure
|
25
28
|
|
26
29
|
STDERR.write("#{exception.full_message}\n")
|