Hi Thomas, Eric,
On Jul 9, 4:32 pm, "Thomas Sant'ana" <
maill...@gmail.com> wrote:
One other option if it turns out to be too painful to migrate to
specs2 is to look into migrating to ScalaTest WordSpecs and/or
FreeSpecs. Judging from Eric's lengthy migration doc, depending upon
what you have done in specs it might be easier to migrate your
existing tests to ScalaTest than specs2.
One big difference between ScalaTest and specs is that is not obvious
from a feature comparison is I work very hard not to break my users'
code. I will certainly never do any kind of massive breaking such as
the specs2 rewrite, and I'm also very attentive to avoiding even minor
breakages between regular releases. Upgrading to a new version of
ScalaTest generally requires a recompile and that's all. So its a much
smoother ride in that sense. If that's important to you, I think it is
worth taking another look at ScalaTest.
Features you used and liked in specs1, like the Mockito DSL or its
matchers, you can (as far as I know) mix right into a ScalaTest style
trait as well, thereby potentially giving you the best of both worlds
and a smoother upgrade path. Eric and I both work very hard to keep
Scala folks testing productively, and I think people tend to think
they have to pick one framework or the other when you can actually use
both.
Bill