teuton 2.7.1 → 2.7.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 +4 -4
- data/docs/changelog/v2.7.md +12 -0
- data/docs/dsl/expect.md +1 -0
- data/lib/teuton/case_manager/show_report.rb +4 -2
- data/lib/teuton/report/formatter/default/array.rb +1 -0
- data/lib/teuton/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4bee1e3cc6c28460e9fd3cbaf09dacf2c16c1824a4bc4782aeb1749a25b5fda
|
4
|
+
data.tar.gz: 5d41ccb0c129a9894eaa4ae13db4116cf4dc13c875aeaf1edade09159cccc6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 005a48257a74193057e0edba4e6a65edbd7481962f8f380f82f6f5dbae1a6e49f16d74e4f5dc5a9919f8a54ba17c5293f09eaec793e56a11f8d192a706e7a776
|
7
|
+
data.tar.gz: 58d57804d06cc4edaaf0327199fc3ff5845fea01e342a071fc61c52376e08b51ae67d233f5f780fe333445bee64d9066bcd6545fd41f29bf587b46a1d00c362f
|
data/docs/changelog/v2.7.md
CHANGED
@@ -1,4 +1,16 @@
|
|
1
1
|
|
2
|
+
## [2.7.3] 20230607
|
3
|
+
|
4
|
+
- [FIX] Hall of fame now use Project class instead of Application.
|
5
|
+
|
6
|
+
## [2.7.2] 20230607
|
7
|
+
|
8
|
+
- [FIX] Fixed an issue that appeared when exporting reports without feedback after failing to connect to remote computer.
|
9
|
+
|
10
|
+
## [2.7.1]
|
11
|
+
|
12
|
+
- [FIX] Fixed an issue that appeared when executing test and fail connection to remote computer.
|
13
|
+
|
2
14
|
## [2.7.0]
|
3
15
|
|
4
16
|
New features:
|
data/docs/dsl/expect.md
CHANGED
@@ -29,6 +29,7 @@ expect 'obiwan' # Expect previous run command output contains obiwan text
|
|
29
29
|
| expect_none | no output lines expected |
|
30
30
|
| expect_nothing | no output lines expected |
|
31
31
|
| expect /Obiwan\|obi-wan/ | one or more line/s with Obiwan or obi-wan. This example uses regular expresions. |
|
32
|
+
| expect_exit NUMBER | Check exit code is NUMBER |
|
32
33
|
|
33
34
|
## Advanced
|
34
35
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require "rainbow"
|
2
2
|
require "terminal-table"
|
3
|
+
# require_relative "../utils/application"
|
3
4
|
require_relative "../utils/project"
|
4
5
|
|
5
6
|
# | Verbosity level | Description |
|
@@ -121,11 +122,12 @@ class ShowReport
|
|
121
122
|
end
|
122
123
|
|
123
124
|
def show_hall_of_fame
|
124
|
-
|
125
|
+
hall_of_fame = Project.value[:hall_of_fame]
|
126
|
+
return if hall_of_fame.size < 3
|
125
127
|
|
126
128
|
puts Rainbow("HALL OF FAME").bright
|
127
129
|
my_screen_table = Terminal::Table.new do |st|
|
128
|
-
|
130
|
+
hall_of_fame.each do |line|
|
129
131
|
st.add_row [line[0], line[1]]
|
130
132
|
end
|
131
133
|
end
|
@@ -67,6 +67,7 @@ class ArrayFormatter < BaseFormatter
|
|
67
67
|
|
68
68
|
if options[:feedback] == false
|
69
69
|
target[:command] = "*" * i[:command].size
|
70
|
+
i[:output] = "" if i[:output].nil?
|
70
71
|
target[:output] = "*" * i[:output].size
|
71
72
|
target[:alterations] = "*" * i[:alterations].size
|
72
73
|
target[:expected] = "*" * i[:expected].size
|
data/lib/teuton/version.rb
CHANGED