Releases: scalatest/scalatest
3.0.6
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:
3.0.5
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:
3.0.4
3.0.3
3.0.2
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
3.0.0-RC3
Version 3.0.0-RC3 for Scala 2.10, 2.11 and 2.12.0-M4.
3.0.0-RC2
Version 3.0.0-RC2 for Scala 2.10, 2.11 and 2.12.0-M4.
3.0.0-RC1
Version 3.0.0-RC1 for Scala 2.10 and 2.11.
Version 2.2.5
Scalactic and ScalaTest version 2.2.5 built for Scala 2.11 and 2.10.