るりまサーチ

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.038秒)
トップページ > クエリ:new[x] > クエリ:display[x] > クエリ:test/unit[x]

別のキーワード

  1. tracer display_thread_id
  2. tracer display_thread_id=
  3. tracer display_thread_id?
  4. tracer display_process_id
  5. tracer display_c_call?

検索結果

test/unit (38042.0)

ユニットテストを行うためのライブラリです。

...テストフレームワーク: https://test-unit.github.io/

なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある訳ではありません。

Rubyのテスティングフレ...
...。実行されたあとには、teardown メソッドが必ず呼ばれます。

require 'test/unit'
require 'foo'

class TC_Foo < Test::Unit::TestCase
def setup
@obj = Foo.new
end

# def teardown
# end

def test_foo
assert_equal("foo", @ob...
...すると help も表示されます。

$ ruby test_foo.rb --help
Usage: test_foo [options]
minitest options:
-h, --help Display this help.
-s, --seed SEED Sets random seed
-v, --verbose Verbose. Show progress process...