Changelog History
Page 2
-
v3.0.9 Changes
September 23, 2020๐ ScalaTest 3.0.9 is a point release of ScalaTest that backported critical bug fixes and a few enhancements from 3.1.x.
๐ Changes included:
- โ Only expect non-filtered Async tests to be reported as completed in AsyncEngine, ParallelTestExecution and RandomTestOrder, which causes incorrect test count reported.
- ๐ In SuiteSortingReporter, only remove suite reporter after the SuiteCompleted event is reported correctly.
- ๐ Improved support for Symbol in Prettifier and PrivateMethodTester.
- โก๏ธ Updated scala-js version to 0.6.33.
- โก๏ธ Updated scalacheck version to 1.14.3.
- โ Rewritten SuiteSortingReporter and TestSortingReporter to create timer instance only when required, avoiding creating the timer thread when it is not needed.
- ๐ Changed SuiteRunner so that the behavior of handling fatal error in parallel execution is consistent with execution in serial.
๐ Thanks to the contributors for the ScalaTest/Scalactic 3.0. release:
- John Duffell (https://github.com/johnduffell)
- Seth Tisue (https://github.com/SethTisue)
- Chua Chee Seng (https://github.com/cheeseng)
- Bill Venners (https://github.com/bvenners)
-
v3.0.8 Changes
June 13, 2019๐ Fixes
- ๐ฆ Duplicate classes of JMock, JUnit, ScalaCheck, TestNG, EasyMock, and Selenium to org.scalatestplus.xxx packages, this fix problem for user using them from Java.
- Added root to the macros defined in TypeMatcherMacro.
- ๐ Changed Framework to flavour @WrapWith when it is available, consistent with behaviour of ScalaTestFramework and Runner.
- ๐ Fixed javascript error in report files generated by HtmlReporter.
โจ Enhancements
- ๐ Make Prettifier to not depends on scala-xml classes, and removed scala-xml dependency from scalactic.
- โ Make StringOps in Prettifier to be compatible with Scala 2.13.0, all tests in AssertionsSpec now passes.
- Made Every's groupBy method to behave consistently in Scala 2.13.0.
- ๐ Use collection prefix from toString for ColCompatHelper's className implementation of Scala 2.13.0.
- โก๏ธ Updated to use scala-js 0.6.28, 1.0.0-M3 and 1.0.0-M8.
๐ Deprecations
- โ Deprecated org.scalatest.enablers.CheckerAsserting in favour of org.scalatestplus.scalacheck.CheckerAsserting.
-
v3.0.7 Changes
March 19, 2019๐ This release has the same functionality as 3.0.6, and should be source compatible with 3.0.6, but unlike 3.0.6, is binary compatible with 3.0.5. Please see the release notes for 3.0.6 to find out the details of what the release contains. The goal with this release it to achieve binary compatibility with 3.0.5. Unfortunately although 3.0.6 should be source compatible with 3.0.5, it was not binary compatible.
-
v3.0.7-RC1 Changes
March 08, 2019๐ This release has the same functionality as 3.0.6, and should be source compatible with 3.0.6, but unlike 3.0.6, is binary compatible with 3.0.5. Please see the release notes for 3.0.6 to find out the details of what the release contains. The goal with this release it to achieve binary compatibility with 3.0.5. Unfortunately although 3.0.6 should be source compatible with 3.0.5, it was not binary compatible.
-
v3.0.6 Changes
March 01, 2019Bug 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:
-
v3.0.5 Changes
February 13, 2018ScalaTest
๐ 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:
-
v3.0.4 Changes
October 06, 2017๐ 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.
-
v3.0.3 Changes
April 20, 2017๐ 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 -
v3.0.2 Changes
April 18, 2017๐ 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.
-
v3.0.1 Changes
November 17, 2016๐ Version 3.0.1 for Scala 2.10, 2.11 and 2.12.