emailer/src/test/scala/cz/xelfi/quoridor/emailer/MySpec.scala
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 26 Nov 2009 20:06:56 +0100
branchscala-emailer
changeset 153 ac818c32c6e9
permissions -rw-r--r--
Scala version of an emailer. So far it finds the lazy players. It needs to send them email yet.
     1 package org.apidesign.emailer
     2 
     3 import org.specs._
     4 import org.specs.runner.{ConsoleRunner, JUnit4}
     5 
     6 class MySpecTest extends JUnit4(MySpec)
     7 //class MySpecSuite extends ScalaTestSuite(MySpec)
     8 object MySpecRunner extends ConsoleRunner(MySpec)
     9 
    10 object MySpec extends Specification {
    11   "This wonderful system" should {
    12     "save the world" in {
    13       val list = Nil
    14       list must beEmpty
    15     }
    16   }
    17 }