Testing json data using Specs2
问题 I added(In built.sbt) matcher-extra :- "org.specs2" %% "specs2" % "2.3.4" % "test", "org.specs2" % "specs2-matcher-extra_2.10" % "2.3-scalaz-7.1.0-M3", the ("/" the symbols are not resolving) My example test case for Json is looking like below:- package specs.model import org.specs2.mutable.Specification import org.specs2.matcher.JsonMatchers class Json extends Specification with JsonMatchers { "Json Matcher" should { "1st field" in { val json = """{"name":"sagar"}""" json must /("name" ->