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.
jtulach@153
     1
package org.apidesign.emailer
jtulach@153
     2
jtulach@153
     3
import org.specs._
jtulach@153
     4
import org.specs.runner.{ConsoleRunner, JUnit4}
jtulach@153
     5
jtulach@153
     6
class MySpecTest extends JUnit4(MySpec)
jtulach@153
     7
//class MySpecSuite extends ScalaTestSuite(MySpec)
jtulach@153
     8
object MySpecRunner extends ConsoleRunner(MySpec)
jtulach@153
     9
jtulach@153
    10
object MySpec extends Specification {
jtulach@153
    11
  "This wonderful system" should {
jtulach@153
    12
    "save the world" in {
jtulach@153
    13
      val list = Nil
jtulach@153
    14
      list must beEmpty
jtulach@153
    15
    }
jtulach@153
    16
  }
jtulach@153
    17
}