Watir 1.7.1、Ruby 1.9.2、ci_reporter 1.6.4、test unit 2.2.0 をインストールしました。
Ruby 1.9.2 には testunit が付属していないので、別途 testunit をインストールしました。
スクリプトを実行すると、ci_reporter は、テストを実行しているディレクトリに「test/reports」フォルダーを作成しません。スクリプトを実行すると、スクリプトは正常に実行されますが、フォルダーは作成されません。
「test/reports」フォルダはそれ自体で作成されますか、それとも「test/reports」フォルダは testunit の一部である必要がありますか。
以下は、実行中の簡単なテスト iam です。コード スニペットをご覧ください。
gem 'test-unit'
require 'test/unit/ui/console/testrunner.rb'
require 'ci/reporter/rake/test_unit_loader.rb'
require 'watir'
class My_Test < Test::Unit::TestCase
def test_me
browser = Watir::IE.start('http://www.google.com')
assert(browser.link(:text, 'About Google').exists?)
browser.close
end
end
ruby 1.9.2 は ci_reporter 1.6.4 をサポートしていますか?
レポートが ci_reporter によってどのように作成されるか、およびレポートがどこに保存されるかについて、誰かが私を助けることができますか?