Picotest::Test class of PicoRuby

Singleton methods

description

Picotest::Test.description(String description) -> void

Instance methods

assert

instance.assert(bool result) -> void

assert_delta

instance.assert_delta(Integer | Float expected, Integer | Float actual, ?Float delta) -> void

assert_equal

instance.assert_equal(untyped expected, untyped actual) -> void

assert_false

instance.assert_false(bool result) -> void

assert_nil

instance.assert_nil(untyped obj) -> void

assert_not_equal

instance.assert_not_equal(untyped expected, untyped actual) -> void

assert_raise

instance.assert_raise(*(Class | String) exceptions_and_message) { () -> void } -> void

assert_true

instance.assert_true(bool result) -> void

list_tests

instance.list_tests() -> Array[Symbol]

setup

instance.setup() -> void

teardown

instance.teardown() -> void
Tags: class