Skip to content

specs2 5.0.0 RC2

Compare
Choose a tag to compare
@etorreborre etorreborre released this 16 Aug 07:27

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)