From e2fe648e3d791db22810d437aa26ea4ec7fc566f Mon Sep 17 00:00:00 2001
From: Stanislav German-Evtushenko FlatSpec
, a good choice for teams wishing to move from XUnit to BDD. When
-you run it, you get an informal specification of the software being tested:
+you run it, you get an informal specification of the software being tested (the example assumes you are using Scala @{majorMinorScalaVersion}):
To run it, you will need one more artifact,
the Jar file for Scala's XML module.
-Once you've downloaded that Jar file, you can run ExampleSpec
like this:
+Once you've downloaded that Jar file, you can run ExampleSpec
like this (the example assumes you are using Scala @{majorMinorScalaVersion}):
$ CLASSPATH=scalatest-app_@{majorMinorScalaVersion}-@{latestVersion}.jar:scala-xml_3-2.3.0.jar -$ scala -cp $CLASSPATH org.scalatest.run ExampleSpec +$ scala -cp $CLASSPATH --main-class org.scalatest.run -- ExampleSpec Run starting. Expected test count is: 2 ExampleSpec: A Stack