scalatest upgrade from 2.2.4 to 3.0.0-M9 (org.scalatest.matcher package missing)

334 views
Skip to first unread message

Deepak Jain

unread,
Oct 12, 2015, 3:16:54 PM10/12/15
to scalatest-users
On upgrading i see issues like

[ERROR] /Users/dvasthimal/ebay/projects/ep/ep-hadoop-ut/ep-hadoop/experimentation-reporting-platform/experimentation-reporting-common/src/test/scala/com/ebay/ep/reporting/common/ClientDataHelperTest.scala:8: error: object ShouldMatchers is not a member of package org.scalatest.matchers

[ERROR] import org.scalatest.matchers.ShouldMatchers


When i opened up the JAR of scalatest , i see that marchers package is no longer present. Where did it go ?

How do i fix it

Please suggest ?

Regards,

Deepak 

Bill Venners

unread,
Oct 12, 2015, 3:19:29 PM10/12/15
to scalate...@googlegroups.com
Hi Deepak,

org.scalatest.matchers.ShouldMatchers was deprecated two years ago
when 2.0 came out, so you've been likely ignoring deprecation warnings
for a while. It is now called org.scalatest.Matchers.

Bill
> --
> You received this message because you are subscribed to the Google
> Groups "scalatest-users" group.
> To post to this group, send email to scalate...@googlegroups.com
> To unsubscribe from this group, send email to
> scalatest-use...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/scalatest-users?hl=en
> ScalaTest itself, and documentation, is available here:
> http://www.artima.com/scalatest
> ---
> You received this message because you are subscribed to the Google Groups
> "scalatest-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scalatest-use...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Bill Venners
Artima, Inc.
http://www.artima.com
Reply all
Reply to author
Forward
0 new messages