@@ -144,7 +144,7 @@ def _find_number_length(n):
144
144
return length
145
145
146
146
def summary (self ):
147
- executed_cases = self .cases - self . skipped_cases - self .filtered_cases
147
+ selected_cases = self .cases - self .filtered_cases
148
148
completed_configs = self .done - self .skipped_filter
149
149
150
150
# Find alignment length for aesthetic printing
@@ -153,7 +153,7 @@ def summary(self):
153
153
completed_suites_n_length = self ._find_number_length (completed_configs )
154
154
skipped_suites_n_length = self ._find_number_length (self .skipped_configs )
155
155
total_cases_n_length = self ._find_number_length (self .cases )
156
- executed_cases_n_length = self ._find_number_length (executed_cases )
156
+ selected_cases_n_length = self ._find_number_length (selected_cases )
157
157
158
158
print ("--------------------------------------------------" )
159
159
print (f"{ 'Total test suites: ' :<23} { self .total :>{suites_n_length }} " ) # actually test instances
@@ -172,19 +172,19 @@ def summary(self):
172
172
print ("---------------------- ----------------------" )
173
173
print (f"{ 'Total test cases: ' :<18} { self .cases } " )
174
174
print (f"├─ { 'Filtered test cases: ' :<21} { self .filtered_cases :>{total_cases_n_length }} " )
175
- print (f"├ ─ { 'Skipped test cases: ' :<21} { self . skipped_cases :>{total_cases_n_length }} " )
176
- print (f"└ ─ { 'Selected test cases: ' :<21 } { executed_cases :>{total_cases_n_length }} " )
177
- print (f" ├─ { 'Passed test cases: ' :<25} { self .passed_cases :>{executed_cases_n_length }} " )
178
- print (f" ├─ { 'Built only test cases: ' :<25} { self .notrun_cases :>{executed_cases_n_length }} " )
179
- print (f" ├─ { 'Blocked test cases: ' :<25} { self .blocked_cases :>{executed_cases_n_length }} " )
180
- print (f" ├─ { 'Failed test cases: ' :<25} { self .failed_cases :>{executed_cases_n_length }} " )
181
- print (f" { '├' if self .none_cases or self .started_cases else '└' } ─ { 'Errors in test cases: ' :<25} { self .error_cases :>{executed_cases_n_length }} " )
175
+ print (f"└ ─ { 'Selected test cases: ' :<21} { selected_cases :>{total_cases_n_length }} " )
176
+ print (f" ├ ─ { 'Passed test cases: ' :<25 } { self . passed_cases :>{selected_cases_n_length }} " )
177
+ print (f" ├─ { 'Skipped test cases: ' :<25} { self .skipped_cases :>{total_cases_n_length }} " )
178
+ print (f" ├─ { 'Built only test cases: ' :<25} { self .notrun_cases :>{selected_cases_n_length }} " )
179
+ print (f" ├─ { 'Blocked test cases: ' :<25} { self .blocked_cases :>{selected_cases_n_length }} " )
180
+ print (f" ├─ { 'Failed test cases: ' :<25} { self .failed_cases :>{selected_cases_n_length }} " )
181
+ print (f" { '├' if self .none_cases or self .started_cases else '└' } ─ { 'Errors in test cases: ' :<25} { self .error_cases :>{selected_cases_n_length }} " )
182
182
if self .none_cases or self .started_cases :
183
183
print (f" ├──── The following test case statuses should not appear in a proper execution ───" )
184
184
if self .none_cases :
185
- print (f" { '├' if self .started_cases else '└' } ─ { 'Statusless test cases: ' :<25} { self .none_cases :>{executed_cases_n_length }} " )
185
+ print (f" { '├' if self .started_cases else '└' } ─ { 'Statusless test cases: ' :<25} { self .none_cases :>{selected_cases_n_length }} " )
186
186
if self .started_cases :
187
- print (f" └─ { 'Test cases only started: ' :<25} { self .started_cases :>{executed_cases_n_length }} " )
187
+ print (f" └─ { 'Test cases only started: ' :<25} { self .started_cases :>{selected_cases_n_length }} " )
188
188
print ("--------------------------------------------------" )
189
189
190
190
@property
0 commit comments