Created
October 4, 2013 03:23
-
-
Save kamekoopa/6820501 to your computer and use it in GitHub Desktop.
specs2でBeforeClass、AfterClass的なことをやる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.specs2.mutable._ | |
class HogeSpec extends Specification { | |
step { | |
println("start") | |
} | |
"hoge" should { | |
"huga" in { /*ry*/ } | |
"hugo" in { /*ry*/ } | |
} | |
"foo" should { | |
"bar" in { /*ry*/ } | |
"baz" in { /*ry*/ } | |
} | |
step { | |
println("end") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment