Revision: 65273
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 14, 2013 03:10 by tedg
Initial Code
package scalaunittest import org.scalatest.junit.JUnitRunner import org.junit.runner.RunWith import org.scalatest.Suite @RunWith(classOf[JUnitRunner]) // Run As | JUnit Test class ListSuite extends Suite { def testListLength { // a method with a name starting with "test" is a test val ls = List(2, 3, 4) assert(ls.length == 3) } }
Initial URL
Initial Description
A simple Scala unit test example using Suite in scalatest
Initial Title
Scalatest example using Suite
Initial Tags
Initial Language
Scala