2009-06-26
■[test][gem]autotestからRailsが分離された
6月3日のことですが、ZenTest 4.1.0のリリースノートによると、autotestからRailsサポートが分離され、autotest-railsというGemになりました。
つまり、ZenTest 4.1.0以降をインストールすると、Railsのルートディレクトリで
$ autotest
としてもテストが実行されないということです(-railsを付けてもダメ)。
Railsの自動テストをするには
$ sudo gem install autotest-rails
などとして、autotest-railsをインストールしなければなりません。
ところがAutotestのRDocにはRailsサポートの分離について何も書かれておらず、autotest not recognizing tests... WHY? - Rails Forumのように混乱を招いているもよう。
ZenTestのフィードをチェックしてれば分かるだろう、というスタンスなのでしょうか…。ちょっと残念です。
トラックバック - http://d.hatena.ne.jp/irohiroki/20090626/autotest_rails_gem
リンク元
- 7 http://whois.domaintools.com/hiroki.yoshioka.name
- 5 http://www.google.co.jp/search?hl=ja&client=firefox-a&rls=org.mozilla:ja-JP-mac:official&hs=JZy&q=autotest+rails&btnG=検索&lr=lang_ja
- 3 http://reader.livedoor.com/reader/
- 3 http://www.google.co.jp/search?hl=ja&safe=off&client=firefox-a&rls=org.mozilla:ja-JP-mac:official&hs=xni&num=50&q=assert_select+rails2.3+href&btnG=検索&lr=lang_ja&aq=f&oq=
- 3 http://www.workingwithrails.com/person/8755-hiroki-yoshioka
- 2 http://ezsch.ezweb.ne.jp/search/?sr=0203&query=unexplored
- 2 http://www.google.co.jp/search?hl=ja&safe=off&rlz=1B5GGGL_jaJP312JP313&q=rails+autotest-rails&btnG=検索&lr=lang_ja
- 2 http://www.google.co.jp/search?sourceid=chrome&ie=UTF-8&q=rails+helper+protected
- 1 http://74.125.47.132/search?q=cache:dk2ncpfcrSEJ:d.hatena.ne.jp/irohiroki/+rails+form+名前付きルート&cd=4&hl=ja&ct=clnk&lr=lang_ja&client=opera
- 1 http://d.hatena.ne.jp/
