2008-02-15から1日間の記事一覧

JUnit4Adapterテンプレート

JUnit4向けに書かれたテストケースをJUnit3環境で走らせる(djUnitのantタスクとか?)場合に、eclipseに以下のようなテンプレートを登録しておくと便利。 public static junit.framework.Test suite() { return new JUnit4TestAdapter(${enclosing_type}.class…