“To test whether a bit of code produces an expected exception, use intercept. Place the expected exception type in square brackets after intercept, and the bit of code in curly braces, like this:”
Getting started with FunSpec By learning to use FunSpec, simple assertions, and the BeforeAndAfter trait, you can become productive in the BDD style of ScalaTest very quickly. You can then learn an...
“To test whether a bit of code produces an expected exception, use intercept. Place the expected exception type in square brackets after intercept, and the bit of code in curly braces, like this:”
kent-where-the-light-is のブックマーク 2019/06/06 00:22
このブックマークにはスターがありません。
最初のスターをつけてみよう!
ScalaTest
www.scalatest.org2013/03/31
Getting started with FunSpec By learning to use FunSpec, simple assertions, and the BeforeAndAfter trait, you can become productive in the BDD style of ScalaTest very quickly. You can then learn an...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /