ScalaTest Release Notes

Changes in 1.1 (for Scala 2.7.x) and 1.2 (for Scala 2.8.x)

Note: ScalaTest 1.1 and 1.2 basically have identical feature sets. The only difference is the Scala version they support. ScalaTest 1.1 works with Scala 2.7, and ScalaTest 1.2 with Scala 2.8. For a while we will support both 2.7 and 2.8 with new enhancements, with corresponding ScalaTest 1.1.x and 1.2.x releases. At some point we'll bump up to 1.3 and only support Scala 2.8 and beyond.

  • The main change from 1.0 to 1.1/1.2 is many changes to support Scala 2.8. Many of these changes went into both 1.1 and 1.2 codebases to simplify supporting both codebases in future releases. Some changes went just to the 1.2 branch. None of these should be visible to users of ScalaTest. In other words, the ScalaTest API did not need to change between Scala 2.7 and Scala 2.8, only its implementation.
  • Added dir attribute to ScalaTest ant task.
  • Renamed XML reporter to junitxml in the ScalaTest ant task.
  • Made Tag a concrete class (in earlier releases it was abstract), and added a Tag companion object with an apply method. The abstract Tag class enabled users to define tags with object SlowTest extends Tag("SlowTest"). This enhancements allows tags to also be created on the fly, for example, with Tag("SlowTest").
  • Added ScalaTestFramework to support sbt.
  • Fixed "smiley-face" bug in XML reporter, an extra few characters that caused the XML to be invalid.
  • When running failed or ignored tests in WordSpec, print the "should" verb in the GUI report, which was missing.

ScalaTest is brought to you by Bill Venners and Artima.
ScalaTest is free, open-source software released under the Apache 2.0 license.

If your company loves ScalaTest, please consider sponsoring the project.

Copyright © 2009-2019 Artima, Inc. All Rights Reserved.

artima