Skip to content

Releases: etorreborre/specs2

Integration of the MacrotaskExecutor for ScalaJS

08 Sep 10:25
Compare
Choose a tag to compare

This version uses a new ExecutionContext which makes timeouts works with ScalaJS. For more details have a look at this ScalaJS issue.

Fix for #984

03 Sep 20:48
Compare
Choose a tag to compare

This release fixes an oddity with the implicits used for the >> operator which seemed to be creating a closure capturing a variable once and never re-evaluating it.

Blocker fix

02 Sep 10:58
Compare
Choose a tag to compare

The previous version (4.12.7) introduced a regression seemingly due to a compiler bug when emitting implicits code.

Maintenance release

01 Sep 21:56
Compare
Choose a tag to compare

Fixed #981 where an exception thrown outside of an Execution could fail the whole specification instantiation.

Junit5 version

31 Aug 10:19
Compare
Choose a tag to compare

Now with executing tests :-)

Revert scala-parsers-combinators to 1.1.2

31 Aug 10:21
Compare
Choose a tag to compare

For better compatibility. Fixes #980

Revert scala-xml to 1.3.0

31 Aug 08:53
Compare
Choose a tag to compare

After a bit of back and forth, we decided that it was better to keep scala-xml-1.x for the specs2-4.x series and scala-xml-2.x for the specs2-5.x series. Sorry about the possible confusing from reading those consecutive releases!

Maintenance release

31 Aug 06:43
Compare
Choose a tag to compare

Upgraded scala-xml to 2.0.1 and moved the XmlMatchers to the specs2-xml module (instead of specs2-matcher-extra) to avoid conflicts with the scala-compiler library.

Note: the jars released under the version 4.12.4-ec-js must not be used, they were published as a proof of concept to test a ScalaJs related issue.

specs2 5.0.0 RC3

31 Aug 06:44
Compare
Choose a tag to compare

Made adjustments to diffs and failure messages

specs2 5.0.0 RC2

16 Aug 07:27
Compare
Choose a tag to compare

This release adds generic diffs for case classes:

// setup
case class Foo(x: String, y: Int)
val foo1 = Foo("a", 1)
val foo2 = Foo("b", 2)

// test
foo1 === foo2

// result
Foo(x: 'a' != 'b'
       y: 1 != 2)