Both scalatest and Specs2 have separate matchers for should
and must
.
However, I cannot find any explanation for why you would use one or the other.
What exactly is the difference?
Both scalatest and Specs2 have separate matchers for should
and must
.
However, I cannot find any explanation for why you would use one or the other.
What exactly is the difference?
There is no difference, this is purely a syntactic preference. I personally prefer to use must
in specs2 because I think that should
can make people think that an expectation is optional.