Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > runit/testcaseライブラリ > RUNIT::TestCaseクラス

class RUNIT::TestCase

クラスの継承リスト: RUNIT::TestCase < RUNIT::Assert < Test::Unit::Assertions < Test::Unit::TestCase < Test::Unit::Assertions < Object < Kernel

要約

特異メソッド

定義 説明
new(test_name, suite_name = RUNIT::TestCase.name) -> RUNIT::TestCase

自身を初期化します。

suite -> RUNIT::TestSuite

テストスイートを作成して返します。

インスタンスメソッド

定義 説明
assert_equals(expected, actual, message = nil)

Test::Unit::Assertions#assert_equal の別名。

name -> String

名前を返します。

run(result) { .... } -> ()

テストを実行します。

継承したメソッド

== === =~ __id__ __send__ _dump class clone dclone display enum_for eql? equal? extend freeze frozen? hash initialize initialize_copy inspect instance_eval instance_exec instance_of? instance_variable_defined? instance_variable_get instance_variable_set instance_variables is_a? marshal_dump marshal_load method method_missing methods nil? pretty_inspect pretty_print pretty_print_cycle pretty_print_inspect pretty_print_instance_variables private_methods protected_methods public_methods remove_instance_variable respond_to? singleton_method_added singleton_method_removed singleton_method_undefined singleton_methods taint tainted? tap to_a to_ary to_hash to_int to_io to_proc to_regexp to_s to_str to_yaml to_yaml_properties to_yaml_style untaint .#assert_equal_float .#assert_exception .#assert_fail .#assert_match .#assert_no_exception .#assert_not_match .#called_internally? .#setup_assert assert assert_block assert_equal assert_in_delta assert_instance_of assert_kind_of assert_match assert_nil assert_no_match assert_not_equal assert_not_nil assert_not_same assert_nothing_raised assert_nothing_thrown assert_operator assert_raise assert_raises assert_respond_to assert_same assert_send assert_throws build_message flunk default_test method_name passed? setup size teardown ::PASSTHROUGH_EXCEPTIONS