検索結果
-
MiniTest
:: Unit :: TestCase # run(runner) -> String (24307.0) -
自身に関連付けられているテストを実行します。
...自身に関連付けられているテストを実行します。
MiniTest::Unit::TestCase#setup がサブクラスで再定義されている場合はそれらも実行します。
@param runner テストの実行結果を管理するオブジェクトを指定します。... -
test
/ unit (6018.0) -
ユニットテストを行うためのライブラリです。
...してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある訳で......必ず
呼ばれます。実行されたあとには、teardown メソッドが必ず呼ばれます。
require 'test/unit'
require 'foo'
class TC_Foo < Test::Unit::TestCase
def setup
@obj = Foo.new
end
# def teardown
# end
def test_foo
a......bose. Show progress processing files.
-n, --name PATTERN Filter test names on pattern.
--jobs-status [TYPE] Show status of jobs every file; Disabled when --jobs isn't specified.
-j, --jobs N Allow run tests with N jobs at once...