Module: TestBench::Run::Controls::Summary::File::Totals
- Defined in:
- lib/test_bench/run/controls/summary/file/totals.rb
Class Method Summary collapse
- .aborted ⇒ Object
- .attempted ⇒ Object
- .completed ⇒ Object
- .example(attempted: nil, completed: nil, aborted: nil, not_found: nil) ⇒ Object
- .not_found ⇒ Object
Class Method Details
.aborted ⇒ Object
24 25 26 |
# File 'lib/test_bench/run/controls/summary/file/totals.rb', line 24 def self.aborted 20 end |
.attempted ⇒ Object
16 17 18 |
# File 'lib/test_bench/run/controls/summary/file/totals.rb', line 16 def self.attempted 222 end |
.completed ⇒ Object
20 21 22 |
# File 'lib/test_bench/run/controls/summary/file/totals.rb', line 20 def self.completed 200 end |
.example(attempted: nil, completed: nil, aborted: nil, not_found: nil) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/test_bench/run/controls/summary/file/totals.rb', line 7 def self.example(attempted: nil, completed: nil, aborted: nil, not_found: nil) attempted ||= self.attempted completed ||= self.completed aborted ||= self.aborted not_found ||= self.not_found TestBench::Run::Summary::FileTotals.new(attempted, completed, aborted, not_found) end |
.not_found ⇒ Object
28 29 30 |
# File 'lib/test_bench/run/controls/summary/file/totals.rb', line 28 def self.not_found 2 end |