14
12

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.

modelのcase classやobjectをユニテする方法ご存知ありませんか?

Posted at

Play2.0 Scala でモデル層をcase class + object で定義しているのですが、ユニテで困っています。
Specs2デフォルトのmockitoでは、モックを作ることができませんし、
かといって関連するモデル全てをテスト時に定義するのも現実的ではないので、出来ればモックを作りたいのですが…
なにか、方法を御存知の方がいらっしゃればどうかご教授お願いします。

14
12
4

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
14
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?