ScalaTest 1.9.2 is a stepping-stone to help pave the way to upgrade from ScalaTest 1.9.1 to ScalaTest 2.0. Other than a few deprecations that were coming in 2.0 anyway, 1.9.2 removes the dependency on the deprecated Scala actors library, and refactors the ScalaTest style traits into classes.
Enhancements
Deprecations and removals
expectResult
in favor of assertResult
in org.scalatest.Assertions
.
MustMatchersForJUnit
in favor of ShouldMatchersForJUnit
in package org.scalatest.junit
.
Specs
in favor of Suites
in package org.scalatest
.
shouldEqual
to org.scalatest.matchers.ShouldMatchers
.
"be === "
matcher syntax in favor of shouldEqual
.
MustMatchers
in favor of ShouldMatchers
in package org.scalatest.matchers
. This will be a good, long
deprecation cycle, during which MustMatchers
will continue to work as before. But eventually MustMatchers
will be removed from
ScalaTest, after which must
will later return to serve a different purpose.
Spec
(renamed FunSpec
), and the long-deprecated MultipleFixture*
traits in org.scalatest.fixture
.
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-2025 Artima, Inc. All Rights Reserved.