Feature #282

Hudson の自動テストがRedmine 0.9で通らない

Added by Haru Iida about 2 years ago. Updated almost 2 years ago.

Status:終了(Closed) Start date:01/23/2010
Priority:通常(Normal) Due date:
Assignee:Toshiyuki Ando % Done:

100%

Category:- Spent time: -
Target version:1.0.3

Description

そろそろHudson pluginのテスト環境もRedmine 0.9に移行したいと思います。
今のテストは0.9では通らないので変更をお願いします。

参考までに:
http://haruiida.blogspot.com/2009/09/testunit.html

Associated revisions

Revision 471
Added by Toshiyuki Ando almost 2 years ago

fixes #282
unittest works under redmine0.9.x or trunk( does'nt work redmine0.8.x)

History

Updated by Toshiyuki Ando about 2 years ago

fixture がないからですよね?

fixture replacement 決定戦

をみると、object_daddy は使いづらそうなんですよね。
飯田さんは、どれを使う予定ですか?

Updated by Toshiyuki Ando about 2 years ago

あ、違いましたね。ごめんなさい。
でも、fixture からの移行はおいおい考えたほうがいいのかなぁ。

これ以上テストが大きくなる前に…。

Updated by Haru Iida almost 2 years ago

  • Target version set to some distant future(いつかやる)

object_daddy を使い始めてます
exemplarというテストデータを生成する雛形のようなものをモデル毎に作るのですが、Redmineの各モデル用exemplarが既に用意されているのでこれを利用しない手は無いと思います。

fixtureも使えるので無理に移行する必要は無いと思いますが、データをたくさん作らなければならない場合にはfixtureだと面倒ですね。

Updated by Toshiyuki Ando almost 2 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 r471 で適用されました。

Updated by Toshiyuki Ando almost 2 years ago

  • Target version changed from some distant future(いつかやる) to 1.0.3

Updated by Toshiyuki Ando almost 2 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

Also available in: Atom PDF