種類
- インスタンスメソッド (2)
- ライブラリ (2)
ライブラリ
-
minitest
/ unit (2)
クラス
-
MiniTest
:: Unit (2)
キーワード
-
minitest
/ unit (1) - skips= (1)
-
test
/ unit (1)
検索結果
-
MiniTest
:: Unit # skips -> Fixnum (18101.0) -
実行しなかったテストケース数を返します。
実行しなかったテストケース数を返します。 -
MiniTest
:: Unit # skips=(count) (6101.0) -
実行しなかったテストケース数をセットします。
実行しなかったテストケース数をセットします。
@param count 件数を指定します。 -
minitest
/ unit (12.0) -
ユニットテストを行うためのライブラリです。
...seconds.
1) Failure:
test_bar(TestFoo) [test_foo.rb:20]:
Expected "bar", not "foo".
2 tests, 2 assertions, 1 failures, 0 errors, 0 skips
test_bar だけテストしたい場合は以下のようなオプションを与えます。
$ ruby test_foo.rb -n test_bar
Loaded suite te......seconds.
1) Failure:
test_bar(TestFoo) [test_foo.rb:20]:
Expected "bar", not "foo".
1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
コンソールを使った testrunner のみ提供されています。
またヘルプを表示することもできません。
=== 使用可... -
test
/ unit (12.0) -
ユニットテストを行うためのライブラリです。
...test_bar(TC_Foo) [test_foo.rb:16]:
<"bar"> expected but was
<"foo">.
2 tests, 2 assertions, 1 failures, 0 errors, 0 skips
test_bar だけテストしたい場合は以下のようなオプションを与えます。
$ ruby test_foo.rb --name test_bar......test_bar(TC_Foo) [test_foo.rb:16]:
<"bar"> expected but was
<"foo">.
1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
--name=test_barのような指定は行えません。
以下のようにすると help も表示されます。
$ ruby test_foo.rb --help...