Skip to content

Releases: etorreborre/specs2

SPECS2-4.3.5

02 Jan 16:34
Compare
Choose a tag to compare

Maintenance version

Enhancements

  • core report Throwables at the end of a sbt execution (#714)
  • cats refactor IOMatchers to add Generic (#707) (Diego E. Alonso Blas)* core return a better failure message when the argument for a spec cannot be buit

2.13 and upgrades

  • use cats-1.4.0
  • use scalacheck-1.14.0
  • add explicit return types for macro (#706) (kenji yoshida)
  • fix compile errors latest Scala 2.13.x (#708) (kenji yoshida)
  • allow building on JDK 11 (#710) (Seth Tisue)
  • upgrade cats + cats-effect to versions community build expects (#711) (Seth Tisue)
  • upgraded to scala 2.12.7
  • adjustments for 2.13.0-M5 but some tests are not passing anymore probably because of some changes with collections

SPECS2-4.3.4

23 Aug 20:15
Compare
Choose a tag to compare

Maintenance version, with some HTML enhancement and most importantly a fix for Bazel builds.

Enhancements

  • scalacheck added missing setSeed(String) methods on scalacheck functions
  • html #704 remove superflous lines between examples (by @kaatzee)
  • html #696 set better levels for non mutable specifications reporting in HTML (by @kaatzee)
  • guide #689 document the skipAllIf/skipAllUnless arguments

Fixes

  • junit #705 added an exclusion for the Bazel runner, to prevent double reporting (#705) (17 minutes ago) (thanks to Igal Tabachnik)
  • core #700 log errors properly when beforeAll fails (thanks to @kaatzee)

SPECS2-4.3.3

09 Aug 22:31
Compare
Choose a tag to compare

Maintenance version, mostly with a JUnit enhancement

Enhancements

  • junit #697 report failures when a specification fails to be created (Dávid István Bíró)

Fixes

  • all #699 remove the procedure syntax (kenji yoshida)
  • all #698 fixed a compile error with latest Scala 2.13.x (kenji yoshida)
  • mock #690 display the proper failure message for a jmock failure

SPECS2-4.3.2

10 Jul 12:27
Compare
Choose a tag to compare

Maintenance version with an additional fix for possible stackoverflow exceptions on large specifications.

Fixes

  • core #682 use constant stack running TimedFuture sequentially, too take constant stack while running examples in parallel (Edmund Noble)

SPECS2-4.3.1

07 Jul 13:01
Compare
Choose a tag to compare

Maintenance version with an important fix for possible stackoverflow exceptions on large specifications.

Improvements

  • matcher #676 added matchers for cats.data.Validated (Isla Zhang)
  • matcher #675 added "sized" matchers for cats.data.NonEmptyList (Keir Lawson)
  • core #685 refactored the BlockDsl in mutable specifications to to allow the easy definition of other keywords than "can", "should",...

Fixes

  • matcher #684 fixed the negation of a matcher in case of thrown expectations
  • core #683 take constant stack while running examples in parallel (Edmund Noble)
  • mock #679 fixed the use of the any[T] matcher

Code cleanup

  • #677 removed redundant code (Keir Lawson)
  • #674 removed references to deleted xor code (Keir Lawson)

SPECS2-4.1.1

07 Jul 13:08
Compare
Choose a tag to compare

Backport version

Fixes

  • core #682 fixed a StackOverflow exception when running large specifications

SPECS2-4.3.0

07 Jul 13:00
Compare
Choose a tag to compare

Maintenance version, thanks Kenji Yoshida and others for the numerous small PRs!

Upgrades

  • compiled with Scala 2.13.0-M4 and the new collections library
  • upgraded sbt to 1.x
  • upgraded scala-js to 0.6.23
  • upgraded scalaz to 7.2.24

Fixes

  • mock catch ExpectationError from JMock and make them failures #672
  • matcher fixed the setting of messages with matchers throwing exceptions #655
  • core fixed the 'humanName' method for anonymous classes on jdk >= 9 #659

SPECS2-4.2.0

03 May 19:27
Compare
Choose a tag to compare

Upgrade version

Upgrades

  • scalacheck upgraded to ScalaCheck 1.14.0. It is now possible to visualize the seed used
    to generate a counter-example and reuse it to run a property (myProp.setSeed("xxx") or use scalacheck.seed xxx on the command line)

Improvements

Fixes

  • junit fixed an issue where List(1,2) must contain(===(2)) would fail with JUnitMatchers and a JUnit test class

SPECS2-4.1.0

20 Apr 15:42
Compare
Choose a tag to compare

Upgrade version

Upgrades

  • mockito upgraded to Mockito 2.18.2, this is mostly to avoid a concurrency bug introduced by Mockito (#641).
  • html the default options for pandoc are now compatible with pandoc 2.1.3 for markdown generation

Otherwise please refer to the 4.0.4 notes for the latest changes.

specs2-tests SPECS2-4.0.4

16 Apr 15:54
Compare
Choose a tag to compare

Maintenance version

Improvements

  • mockito add anyFunction0 to the MockitoMatchers (#634) (thanks to @hmemcpy)
  • mockito upgraded to Mockito 2.16.0 (#641)
  • scala avoid procedure syntax (#647) (thanks to Kenji Yoshida)
  • matcher-extra output better failure messages for Json matchers (#650)

Fixes

  • various fixes to the test suite (#643, #644, #645) (thanks to @hmemcpy)
  • core changed the fragment’s id to the hashcode of a fragment, rather than its location (#640). This fixes a
    description issue with JUnit when using Fragment.foreach (thanks to @hmemcpy)
  • junit shutdown the execution environment after executing junit tests (#648)
  • core fixed the visibility of AllExpectations.fragmentsFactory to allow mixing the trait with
    Before/After/Around Each (#651)