Skip to content

Releases: scalatest/scalatest

3.0.6

01 Mar 13:18
0cae7f7

Choose a tag to compare

Bug Fixes

  • Fixed incorrect test count problem in scala-js starting 0.6.22.
  • Fixed problem when partial unification is enabled with -Ypartial-unification.
  • Enhanced TypeMatcherHelper to handle primitive types checking.
  • Enhanced TypeMatcherHelper to handle AnyVal correctly.

Improvements

  • Moved away from using octal escapes, as they are deprecated and will be removed in Scala 2.13.
  • Wrap <script> sections of HtmlReporter in <![CDATA[]]>.
  • Bumped up to use ScalaCheck 1.14.0.
  • Bumped up to use scala-xml version 1.1.0.
  • Bumped up to use scala-js version 0.6.26.
  • Added support for Scala 2.13.0-M5.

Enhancements

  • Added support of -T argument in SBT.

Deprecations

  • Deprecated 'to' and 'until' method in Float and Double anyvals.
  • Deprecated ScalaCheck related classes in org.scalatest.prop, moved the classes into org.scalatestplus.scalacheck.
  • Deprecated classes in org.scalatest.easymock, moved the classes into org.scalatestplus.easymock
  • Deprecated classes in org.scalatest.jmock, moved the classes into org.scalatestplus.jmock.
  • Deprecated classes in org.scalatest.junit, moved the classes into org.scalatestplus.junit.
  • Deprecated classes in org.scalatest.mockito, moved the classes into org.scalatestplus.mockito.
  • Deprecated classes in org.scalatest.selenium, moved the classes into org.scalatestplus.selenium.
  • Deprecated classes in org.scalatest.testng, moved the classes into org.scalatestplus.testng.

Autofix for ScalaTest 3.0

To help user to migrate from deprecated packages to new packages, we include a autofix tool that can help you to rename the package automatically.

If you're using the latest Scala 2.11 or 2.12, you can follow this guide to use autofix:

https://github.com/scalatest/autofix/tree/master/3.0.6

3.0.5

13 Feb 07:23

Choose a tag to compare

ScalaTest

Bug Fixes:

  • Fixed implicit view not available problem when used with compile macro.
  • Fixed stack depth problem in RefSpecLike and fixture.SpecLike under Scala 2.13.
  • Changed Framework and ScalaTestFramework to set spanScaleFactor for Runner object instance for different Runner using different class loader, this fixed incorrect Runner.spanScaleFactor being used when multiple sbt projects tests run concurrently.
  • Fixed a bug in endsWith regex matcher.

Improvements:

  • Removed duplicated parsing code for -C in ArgsParser.
  • Improved performance in WebBrowser.
  • Documentation typo rectification.
  • Improve validity of Junit XML reports.
  • Improved performance by replacing all .size == 0 and .length == 0 to .isEmpty.

Enhancements:

  • Added 'C' option to -P, which will tells -P to use cached thread pool.

External Dependencies Update:

  • Bumped up scala-js version to 0.6.22.
  • Changed to depend on mockito-core, not mockito-all.
  • Bumped up jmock version to 2.8.3.
  • Bumped up junit version to 4.12.
  • Removed depedency to scala-parser-combinators.

Scalactic

Bug Fixes:

  • Fixed Accumulation's Combinable problem when used with ScalaTest's shouldEqual.

Improvements:

  • Pretty print ArrayOps.
  • Improved performance by replacing all .size == 0 and .length == 0 to .isEmpty.

External Dependencies Update:

  • Bumped up scala-js version to 0.6.22.

Notes for 3.0.5-M1

The M1 release is created for Scala 2.13.0-M3, which we detected a potential regression when building ScalaTest's own tests. You can use 3.0.5-M1 if you need to cross build with Scala 2.13.0-M3. For further details, please see:

#1321 (comment)

3.0.4

06 Oct 16:07

Choose a tag to compare

Version 3.0.4 for Scala 2.10, 2.11 and 2.12.

Bug Fixes:

  • Avoid race condition in Timed.scala. View details here: #1147

Enhancements:

  • Updated scala-js version to 0.6.16.

3.0.3

20 Apr 13:53

Choose a tag to compare

Version 3.0.3 for Scala 2.10, 2.11 and 2.12.

Bug Fixes:
-Fixed java classes in artifacts built for Scala 2.10 and 2.11 (Java 6 supported needed) was compiled with Java 8 problem. You can see details of the problem described here: #1141

3.0.2

18 Apr 16:47

Choose a tag to compare

Version 3.0.2 for Scala 2.10, 2.11 and 2.12.

Enhancements:

  • Pulled out commons-io, jetty dependencies from scalatest artifact's pom.xml, they are used by our tests only.
  • Updated easymock version to 3.2.
  • Updated jmock version to 2.8.1.
  • Updated mockito version to 1.10.19.
  • Updated guice version to 4.0.
  • Updated selenium version to 2.45.0.
  • Updated testng version to 6.7.
  • Switch to use the more stable getSimpleNameOfAnObjectsClass in place of getClass.getSimpleName.

3.0.1

17 Nov 16:37

Choose a tag to compare

Version 3.0.1 for Scala 2.10, 2.11 and 2.12.

3.0.0-RC3

24 Jun 16:11

Choose a tag to compare

3.0.0-RC3 Pre-release
Pre-release

Version 3.0.0-RC3 for Scala 2.10, 2.11 and 2.12.0-M4.

3.0.0-RC2

09 Jun 07:01

Choose a tag to compare

3.0.0-RC2 Pre-release
Pre-release

Version 3.0.0-RC2 for Scala 2.10, 2.11 and 2.12.0-M4.

3.0.0-RC1

10 May 15:53

Choose a tag to compare

3.0.0-RC1 Pre-release
Pre-release

Version 3.0.0-RC1 for Scala 2.10 and 2.11.

Version 2.2.5

14 May 09:49

Choose a tag to compare

Scalactic and ScalaTest version 2.2.5 built for Scala 2.11 and 2.10.