J.Util.Test

class Test(val name: String)

Code Testing Utility

"Test" is extensively used in Scalqa own test project, which is the best usage example.

Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any

Def

def assertEqualStream[A](s1: Stream[A], s2: Stream[A], ms: Stream[A]*): Unit
Source
__.scala
def assertFalse(v: Boolean, message: => String): Unit
Source
__.scala
def assertTrue(v: Boolean, message: => String): Unit
Source
__.scala
def include(t: J.Util.Test*): Unit
Source
__.scala
def main(sa: Array[String]): Unit
Source
__.scala
def run: Unit
Source
__.scala
def test[U](name: String)(code: => U): Unit
Source
__.scala
def test[U](code: => U): Unit
Source
__.scala
def testEqualStream[A](name: String)(s1: Stream[A], s2: Stream[A], ms: Stream[A]*): Unit
Source
__.scala
def testEqualStream[A](s1: Stream[A], s2: Stream[A], ms: Stream[A]*): Unit
Source
__.scala
def testFalse(name: String)(code: => Boolean): Unit
Source
__.scala
def testFalse(code: => Boolean): Unit
Source
__.scala
def testTrue(name: String)(code: => Boolean): Unit
Source
__.scala
def testTrue(code: => Boolean): Unit
Source
__.scala