Skip to content

Instantly share code, notes, and snippets.

@efleming969
Created January 17, 2010 17:29
Show Gist options
  • Save efleming969/279456 to your computer and use it in GitHub Desktop.
Save efleming969/279456 to your computer and use it in GitHub Desktop.
import org.junit.runner.RunWith
import org.scalatest.FunSuite
import org.scalatest.junit.JUnitSuite
import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class GreetingTest extends FunSuite{
test("sayHello"){
val g = new Greeting
assert(g.sayHello("bar") == "hello, foo")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment