Summary
Today we released ScalaTest/Scalactic 3.0.0-M11, which includes a significant reorganization inspired by feedback from the 3.0.0-M10 release two weeks ago.
Today11" % "test"
The main difference between M11 and the previous milestone release is that we got rid of the
Safety and
Compatibility implicit conversions, because a few users reported that
expectMsg calls were failing. This method has the following signature:
def expectMsg[T](o: T): T
The problem occurred because the
Compatibility implicit conversion from
Any to
Succeeded was applied like this:
expectMsg(convertToSucceeded("some message"))Instead of like this:
convertToSucceeded(expectMsg("some message"))
This meant that you were now expecting
Succeeded to be the message instead of
"some message". It compiled, but failed the test. So that approach was not going to work..
For more insight into the coming 3.0 release, see the earlier ScalaTest 3.0 Preview post about 3.0.0-M10.
Thanks and happy testing.
Have an opinion? Readers have already posted 2 comments about this weblog entry. Why not add yours?
If you'd like to be notified whenever Bill Venners adds a new entry to his weblog, subscribe to his RSS feed.