Skip to content

Releases: etorreborre/specs2

4.x release maintenance

25 Sep 14:31
5b12a0f

Choose a tag to compare

This release upgrades Mockito to 5.20.0 which means that Java 8 is not supported anymore (see [here]).
Other dependencies and build plugins have also been updated.

Maintenance release

22 Jul 10:18
6f13524

Choose a tag to compare

What's Changed

Upgraded to the lastest scala native version

15 Oct 08:58
52f8780

Choose a tag to compare

This release solves a long-standing issue with Scala-native: #1239.

Fix for the HTML documentation

12 Oct 16:55
846d0a4

Choose a tag to compare

This release fixes:

  • A missing import in the docs showing how to produce an index file for the HMTL reporter.

  • More importantly, a proper output for HTML docs. Many pieces of HTML were duplicated due a fun bug involving the natural transformation of Id to Action. I don't know yet what is the most lawful fix: making Id lazy (equivalent to () => X) or doing what I did and making the NaturalTransformation.apply parameter lazy. Anyway this fixes this issue!

Fix for `ok and failure` when using `ThrownExpectations`

04 Jul 15:42
8a259bf

Choose a tag to compare

Scala-native upgrade

07 Jun 07:34
c0e99aa

Choose a tag to compare

Scala-native has been upgraded to 0.5 thanks to @xuwei-k.

Revert to using Scala 3.3.3 LTS

05 Jun 08:09
0327844

Choose a tag to compare

Added back a Scope trait for 5.x

23 May 21:21
38567f8

Choose a tag to compare

Version 5 dropped the Scope trait for mutable specifications, to initialize some values and make them accessible to examples in mutable specifications.

That trait is now back as org.specs2.execute.Scope:

class MySpec extends mutable.Specification:
  "e1" in new MyScope:
    someValue === 1
  
trait MyScope extends Scope: 
  val someValue: Int = 1

Filter examples based on a TestSelector with sbt

24 Jan 15:26
c9049ff

Choose a tag to compare

Filter examples based on a TestSelector with sbt

24 Jan 15:26
d0f255d

Choose a tag to compare