Created
January 5, 2012 19:45
-
-
Save sorenmat/1566857 to your computer and use it in GitHub Desktop.
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.junit.runner.RunWith | |
import org.scalatest.matchers.ShouldMatchers | |
import org.scalatest.Spec | |
import org.scalatest.TestFailedException | |
import org.scalatest.junit.JUnitRunner | |
@RunWith(classOf[JUnitRunner]) | |
class SampleTest extends Spec with ShouldMatchers { | |
describe("simple test case") { | |
it("should run") { | |
1 + 1 should be (2) | |
} | |
it("should multiply two number") { | |
10 * 10 should be (100) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment