3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Eclipseでtest/unitを使って動かなかった場合の対処法

Last updated at Posted at 2015-01-26

Eclipseでtest-unitを使ったら,以下のようなエラーが出て動かなかった。解決方法を備忘のためにメモ
※環境はRuby2.2.0,test-unit3.0.9,Eclipse4.4.0(Luna)

略/dltk-testunit-runner.rb:252:in `block in <top (required)>': uninitialized constant Test::Unit::UI::SILENT (NameError)

調べたところ上記エラーメッセージのファイル,252行目を以下のように書き直せばよいとのこと。

dltk-testunit-runner.rb
autoRunner.runner_options[:output_level] = Test::Unit::UI::Console::OutputLevel::SILENT

これで無事に動いた。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?