Skip to content

Releases: scalatest/scalatest

3.2.18

08 Feb 07:00
Compare
Choose a tag to compare

Scalactic/ScalaTest 3.2.18 is a point release that makes a few enhancements.

Changes included:

  • Added the missing sleep call in Retries to withRetry function. (PR #2279)
  • Fixed unexpected warning in Scala 2 macro for assert(foo.isEmpty()). (PR #2298)
  • Call the sleep function in Retries that takes nano part. (PR #2279)
  • Enhanced Conductors to catch UnsupportedOperationException when calling Thread's stop, and call method interrupt when that happens as next attempt to stop the running thread, avoiding hang problem when using Conductors. (PR #2284)
  • Reimplemented InsertionOrderSet using scala.collection.mutable.LinkedHashSet to improve performance. (PR #2308)
  • Added scalatest-app build for Scala 3. (PR #2290)
  • Added the missing test for empty public constructor and non-abstract when detecting Suite in ScalaTest+JUnit5 discovery. (PR #12)
  • Added TestCanceled support in ScalaTest+JUnit5. (PR #7)
  • Upgraded to Mockito 5.10 in ScalaTest+Mockito.
  • Upgraded to TestNG 7.9 in ScalaTest+TestNG.
  • Upgraded to Selenium 4.17 in ScalaTest+Selenium.

3.2.17

12 Sep 13:02
Compare
Choose a tag to compare

Scalactic/ScalaTest 3.2.17 is a point release that makes a few enhancements.

Changes included:

  • Backport macro short-circuit fix to make & and | to have consistent behavior with Scala's & and |. (PR #2261)
  • Fixed images not included in scalatest-app jar file problem. (PR #2271)
  • Upgraded to JUnit 5.10 in ScalaTest+JUnit5. (PR #8 in ScalaTest+JUnit5)
  • Upgraded to Selenium 4.12 in ScalaTest+Selenium. (PR #25 in ScalaTest+Selenium)

Thanks to the contributors for the Scalactic/ScalaTest 3.2.17 release:
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.16

15 May 13:46
Compare
Choose a tag to compare

Scalactic/ScalaTest 3.2.16 is a point release that makes a few enhancements.

Changes included:

  • Added overridable differ to Prettifier trait, and added functions to create prettifier instance with supplied Differ. (#2221).
  • Recognize -S as a valid argument in checkArgsForValidity, used by Runner. (#2222).
  • Deprecated NoArg as scala.DelayedInit is dropped from Scala 3, updated ScalaDoc. (#2228).
  • Fixed compiler warning in expanded code when the size or length method call contains empty bracket. (#2230).
  • Fixed "SuiteAborted.this.message was null" error (#2236).

Thanks to the contributors for the Scalactic/ScalaTest 3.2.16 release:

Avatar Georgiy Kargapolov (https://github.com/inmost-light)
shawjef3 (https://github.com/shawjef3)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.15

06 Jan 09:17
Compare
Choose a tag to compare

Scalactic/ScalaTest 3.2.15 is a point release that makes a few enhancements.

Changes included:

  • Updated diagrams macro for Scala 2 and 3 to render xml literal consistently between scala versions. (#2169)
  • Added more Scala 3 infix keyword for style traits and matchers DSL functions. (#2170)
  • Fix prettifier not being used for property check. (#2173)
  • Enhanced GenSeqDiffer, GenSetDiffer and GenMapDiffer to support find diff elements according to limit size of prettifier when available. (#2177)
  • Marked FutureOutcome, Sequential, Stepwise, Suites and Tag as open class in Scala 3. (#2178)
  • Adjusted code in StepwiseNestedSuiteExecution to work with async test. (#2211)
  • Updated to use Scala 2.12.17 and 2.13.10. (#2171)
  • Updated to use Scala Native 0.4.9. (#2216)
  • Fixed future get executed 2x problem in diagrams macro. (#2219)

Thanks to the contributors for the Scalactic/ScalaTest 3.2.15 release:

Matthew de Detrich (https://github.com/mdedetrich)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.14

29 Sep 13:55
Compare
Choose a tag to compare

Scalactic/ScalaTest 3.2.14 is a point release that makes a few enhancements.

Changes included:

  • Set sorting reporter as complete if test run failed unexpected. (#2161)
  • Fixed serialization problem for TestFailedException thrown from EitherValues. (#2159)
  • Enabled scaladoc artifact for Scala 3 build. (#2163)
  • Marked matchers DSL with Scala 3 infix keyword. (#2158)
  • Enhanced pretty print support for case classes. (#2155)
  • Enhanced pretty print support for tuples. (#2160)
  • Changed the remaining GenTraversable in Prettifier to Iterable. (#2156)
  • Whenever possible call .hasDefiniteSize first before calling .size on collection. (#2156)

Matthew de Detrich (https://github.com/mdedetrich)
Nima Taheri (https://github.com/nimatrueway
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.13

31 Jul 06:21
Compare
Choose a tag to compare

Scalactic/ScalaTest 3.2.13 is a point release that makes a few enhancements.

Changes included:

  • Fixed missing original error message in the error message raised by 'should compile' matcher in Scala 3, also made it to use different message for parse and type error. (#2125)
  • Added a more general approach to detect cyclic objects when traversing nested collections in Prettifier. (#2131)
  • Added truncateAt function to Prettifier companion to allow creation of default prettifier that will truncate collection at certain size before prettifying. (#2131)
  • WordSpec Error Message Enhancement: Propogate cause of TestFailedException and TestCanceledException in registerBranch and registerShorthandBranch function when the cause of NotAllowedException or DuplicateTestNameException. (#2132)
  • Do away with GenTraversable and GenMap in Prettifier. (#2134)
  • Updated to use Scala 3.1.3. (#2135)
  • Bug fix in HtmlReporter to throw ClassNotFoundException correctly. (#2138)
  • Change ConfigMapWrapperSuite to use wrapped suite's name and ID. (#2142)
  • Scala 3: Use open class for concrete classes for style classes. (#2146)
  • Enhanced cannotLoadDiscoveredSuite error message to include class name and error message. (#2148)
  • Updated to use scala-native 0.4.5.

Thanks to the contributors for the Scalactic/ScalaTest 3.2.13 release:

Naftoli Gugenheim (https://github.com/nafg)
Jacob Wood (https://github.com/JMdoubleU)
Andrzej Wąsowski (https://github.com/wasowski)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.12

06 May 05:32
db0c31e
Compare
Choose a tag to compare

ScalaTest 3.2.12 is a point release of ScalaTest that makes a few enhancements.

Changes included:

  • Get JUnitXmlReporter to handle SuiteAborted event correctly. (#2103)
  • Handle DeferredAbortedSuite correctly when firing SuiteStarting, SuiteCompleted and SuiteAborted in multiple places. (#2103)
  • Tweaked failure XML tag in JUnit xml to show only error message in its message attribute, and the stack trace only in the tag body. (#2103)
  • Resurrected -S Generator Seed Argument. (#2104, #2106)
  • Macro Enhancement for OrderingOps. (#2107)
  • Dropped the use of UUID in TestSortingReporter, replaced with object identity approach. (#2118)
  • Updated to use Scala-XML 2.1.0. (#2119)
  • Added Scala-native build for Scala 3. (#2120)
  • Updated to use Scala-js 1.8.0. (#2121)
  • Updated to use Scala 3.1.0. (#2120)
  • Updated to use Scala-native 0.4.4. (#2106)

Thanks to the contributors for the ScalaTest/Scalactic 3.2.12 release:

Guillaume Martres (https://github.com/smarter)
Sébastien Doeraene (https://github.com/sjrd)
Kirill A. Korinsky (https://github.com/catap)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.11

25 Jan 13:20
Compare
Choose a tag to compare

ScalaTest 3.2.11 is a point release of ScalaTest that makes a few enhancements.

Changes included:

  • Changed Valuable class in EitherValues to EitherValuable, and in OptionValues to OptionValuable, for Scala 3 build. (#2094)
  • Fixed crashing problem when encounters non-serializable throwable or payload in exceptions when running in fork mode by wrapping them as NotSerializableWrapperException or None. (#2086)
  • Fire RunAborted event when error in creating dispatch reporter, fixing hang problem when it happens. (#2090)
  • Enhanced checkInOrder implementation in Sequencing.scala to allow other objects to appear in right-hand aggregation as well. (#2072)
  • Enhanced Scala 3 macro to support OrderingOps correctly. (#2089)
  • Updated to use scala-js 1.7.1. (#2067)
  • Updated to use Ant 1.10.12. (#2091)
  • Updated to scala-xml 2.0.1 for Scala 2.12 and above builds. (#2093)
  • Updated to use scala-native 0.4.3. (#2098)

Daniel Wojda (https://github.com/wojda)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.10

20 Sep 15:13
Compare
Choose a tag to compare

ScalaTest 3.2.10 is a point release of ScalaTest that makes a few enhancements.

Changes included:

  • Fixed compilation error if Repeated is included in Diagrams assertion (#2037)
  • scaladoc broken links fix (#2041)
  • Backport produceMatcher Fix for Scala 3 (#2045)
  • Updated Scala-js to 1.7.0 (#2055)
  • Updated Scala 3 to 3.0.2 (#2055)
  • Updated Flexmark version to 0.62.2 (#2050)
  • Fixed javascript error in html reports generated under Scala 3 (#2050)
  • Give a friendly message when Flexmark not available on classpath (#2050)
  • Enhanced Scala 3 position support (#2053)
  • Made Retrying[Future[T]] to retry even when the code to produce the Future[T] fails with exception (#2061)
  • Enabled the should compile and shouldNot compile syntax support for """ string in Scala 3 (#2063)

Thanks to the contributors for the ScalaTest/Scalactic 3.2.10 release:

Taisuke Oe (https://github.com/taisukeoe)
Sandor Kelemen (https://github.com/kelemensanyi)
Seth Tisue (https://github.com/SethTisue)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)

3.2.9

17 May 07:15
Compare
Choose a tag to compare

ScalaTest 3.2.9 is a point release of ScalaTest that makes a few enhancements.

Changes included:

  • Improved support for Scala 3.
  • Included release with Scala 3.0.0.
  • Moved DiagrammedExpr into org.scalatest.diagrams package.

Deprecations:

  • DiagrammedExpr in org.scalatest package is now deprecated and will be removed in the future version of ScalaTest, please use DiagrammedExpr in org.scalatest.diagrams package.

Thanks to the contributors for the ScalaTest/Scalactic 3.2.9 release:

Guillaume Martres (https://github.com/smarter)
Tom Grigg (https://github.com/griggt)
Chua Chee Seng (https://github.com/cheeseng)
Bill Venners (https://github.com/bvenners)