class Easytest::Runner
Attributes
failed_count[RW]
file_count[RW]
no_tests_forbidden[R]
no_tests_forbidden?[R]
passed_count[RW]
skipped_count[RW]
start_time[R]
todo_count[RW]
Public Instance Methods
add_case(Case new_case) → void
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 11:11
def add_case: (Case new_case) -> void
add_hook(Hook hook) → void
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 15:15
def add_hook: (Hook hook) -> void
all_passed?() → bool
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 38:38
def all_passed?: () -> bool
cases() → Array[Case]
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 9:9
def cases: () -> Array[Case]
elapsed_time() → Float
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 46:46
def elapsed_time: () -> Float
hooks() → Array[Hook]
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 13:13
def hooks: () -> Array[Hook]
initialize(?start_time: Time, ?no_tests_forbidden: bool) → void
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 34:34
def initialize: (?start_time: Time, ?no_tests_forbidden: bool) -> void
no_tests?() → bool
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 40:40
def no_tests?: () -> bool
print_error_for_no_tests() → void
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 42:42
def print_error_for_no_tests: () -> void
print_reports(Array[[ Symbol, String ]] reports) → void
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 44:44
def print_reports: (Array[[Symbol, String]] reports) -> void
run() → void
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 7:7
def run: () -> void
summary() → String
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 48:48
def summary: () -> String
total_count() → Integer
click to toggle source
# File sig/_internal/easytest/runner.rbs, line(s) 36:36
def total_count: () -> Integer