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