2013-07-21から1日間の記事一覧
scalaのspecで事前処理がしたくなったのでBeforeExampleを使おうと下記のようなテストを書いてみた。 class SampleExampleSpec extends Specification with BeforeExample{ def before = { println("bef") println("for") } "foo" should { "baa" in { print…
scalaのspecで事前処理がしたくなったのでBeforeExampleを使おうと下記のようなテストを書いてみた。 class SampleExampleSpec extends Specification with BeforeExample{ def before = { println("bef") println("for") } "foo" should { "baa" in { print…