Releases: etorreborre/specs2
Integration of the MacrotaskExecutor for ScalaJS
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
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
The previous version (4.12.7
) introduced a regression seemingly due to a compiler bug when emitting implicits code.
Maintenance release
Fixed #981 where an exception thrown outside of an Execution
could fail the whole specification instantiation.
Junit5 version
Now with executing tests :-)
Revert scala-parsers-combinators to 1.1.2
For better compatibility. Fixes #980
Revert scala-xml to 1.3.0
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
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
Made adjustments to diffs and failure messages
specs2 5.0.0 RC2
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)