Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > test/unit/testcaseライブラリ > Test::Unit::Failureクラス > new

singleton method Test::Unit::Failure.new

new(test_name, location, message)

Creates a new Failure with the given location and message.