This page is no longer maintained — Please continue to the home page at www.scala-lang.org

ScalaTest 1.5.1.RC1 for Scala 2.8.1 released

No replies
Bill Venners
Joined: 2008-12-18,
User offline. Last seen 31 weeks 5 days ago.

Hi All,

I just released ScalaTest 1.5.1.RC1 for Scala 2.8.1. This release
includes a few enhancements on top of ScalaTest 1.5, the previous
release for Scala 2.8.1, namely:

- Reworked some of the Scaladoc documentation, particularly the
documentation on how to use shared fixtures
- Added the BeforeAndAfter trait
- Deprecated BeforeAndAfterEachFunctions and BeforeAndAfterAllFunctions
- Deprecated the MultipleFixtureXXX traits in the fixture package

You can grab it from scala-tools.org via:

group id: org.scalatest
artifact id: scalatest_2.8.1
version: 1.5.1.RC1

Or you can just grab the jar file from:

http://www.scala-tools.org/repo-releases/org/scalatest/scalatest_2.9.0/1...

Or via sbt:

val scalatest = "org.scalatest" % "scalatest_2.8.1" % "1.5.1.RC1

I expect no existing source code to break with this release. You may
need to recompile your tests, but should not need to make any other
changes to upgrade (though it might be a good idea to fix any
deprecation warnings prior to upgrading if you are upgrading from
ScalaTest 1.3 or earlier). Please post on scalatest-users if you
encounter any problems.

Version 1.5.1 provides to Scala 2.8.1 users the exact same features
that Version 1.6.1 provides for Scala 2.9.0+ users, so a good source
of documentation for them is the 1.6.1 Scaladocs. Primarily I reworked
the Scaladoc documentation describing shared fixtures to make clearer
the intent and tradeoffs of each way of doing shared fixtures. For an
example, read through: the relevant documentation for FunSuite. This
documentation also shows an example of using the new BeforeAndAfter
trait:

http://www.scalatest.org/scaladoc-1.6.1/org/scalatest/FunSuite.html#shar...
http://www.scalatest.org/scaladoc-1.6.1/org/scalatest/FunSuite.html#diff...
http://www.scalatest.org/scaladoc-1.6.1/org/scalatest/FunSuite.html#comp...

If you're using ScalaTest with Scala 2.8.1 and have the time, please
try upgrading to 1.5.1.RC1 and let me know if all went well via a
private email. If all goes well with this RC, I'll release 1.5.1 in
about a week's time.

Thanks.

Bill
----
Bill Venners
Artima, Inc.
http://www.artima.com

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland