るりまサーチ

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.035秒)
トップページ > クエリ:IO[x] > クエリ:assert[x] > 種類:ライブラリ[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io each_line
  5. io readlines

検索結果

test/unit (19.0)

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

...のプロジェクトページを参照してください。

* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/

なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/un...
...stCase
def setup
@obj = Foo.new
end

# def teardown
# end

def test_foo
assert
_equal("foo", @obj.foo)
end
def test_bar
assert
_equal("bar", @obj.bar)
end
end

テストを実行するには上で用意した test_foo.rb を...
...t'll have used at -j option
-q, --hide-skip Hide skipped tests
-b, --basedir=DIR Base directory of test suites.
-x, --exclude PATTERN Exclude test files on pattern.
-Idirectory Add library load path
--[...